[Mesa-dev] [RADV] vk_format.h:147:1: unknown type name 'uint' - is my compiler overage?

Dieter Nützel Dieter at nuetzel-hh.de
Fri Oct 7 02:05:31 UTC 2016


gcc (SUSE Linux) 4.8.3

make[4]: Entering directory '/opt/mesa/src/amd/vulkan'
Updating radv_timestamp.h
   GEN      radv_timestamp.h
   CC       radv_device.lo
   CC       vk_format_table.lo
In file included from vk_format_table.c:31:0:
vk_format.h:147:1: error: unknown type name 'uint'
  vk_format_get_blocksizebits(VkFormat format)
  ^
vk_format.h:163:1: error: unknown type name 'uint'
  vk_format_get_blocksize(VkFormat format)
  ^
vk_format.h: In function 'vk_format_get_blocksize':
vk_format.h:165:2: error: unknown type name 'uint'
   uint bits = vk_format_get_blocksizebits(format);
   ^
vk_format.h:166:2: error: unknown type name 'uint'
   uint bytes = bits / 8;
   ^
vk_format.h: At top level:
vk_format.h:178:1: error: unknown type name 'uint'
  vk_format_get_blockwidth(VkFormat format)
  ^
vk_format.h:191:1: error: unknown type name 'uint'
  vk_format_get_blockheight(VkFormat format)
  ^
vk_format.h:406:1: error: unknown type name 'uint'
  vk_format_get_component_bits(VkFormat format,
  ^
vk_format.h:408:9: error: unknown type name 'uint'
          uint component)
          ^
Makefile:917: recipe for target 'vk_format_table.lo' failed
make[4]: *** [vk_format_table.lo] Error 1


More information about the mesa-dev mailing list