Georg Lehmann dadschoorse@gmail.com writes:
Fixes one of the issue related to the changes for VK_KHR_synchronization2.
Signed-off-by: Georg Lehmann dadschoorse@gmail.com
dlls/winevulkan/make_vulkan | 55 +++++++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 20 deletions(-)
I committed this but I forgot to regenerate the files. Now I tried to, and it turns out it doesn't build with an older gcc:
gcc-4.8 -m64 -c -o dlls/vulkan-1/tests/vulkan.o ../wine/dlls/vulkan-1/tests/vulkan.c -Idlls/vulkan-1/tests \ -I../wine/dlls/vulkan-1/tests -Iinclude -I../wine/include -I../wine/include/msvcrt -D__WINESRC__ \ -D_MSVCR_VER=0 -D_REENTRANT -fPIC -fasynchronous-unwind-tables -fno-builtin -fshort-wchar -mabi=ms \ -Wall -pipe -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \ -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2 -fno-diagnostics-show-caret In file included from ../wine/dlls/vulkan-1/tests/vulkan.c:21:0: ../wine/include/wine/vulkan.h:750:1: error: initializer element is not constant In file included from ../wine/dlls/vulkan-1/tests/vulkan.c:21:0: ../wine/include/wine/vulkan.h:751:1: error: initializer element is not constant ../wine/include/wine/vulkan.h:752:1: error: initializer element is not constant ../wine/include/wine/vulkan.h:2413:1: error: initializer element is not constant ../wine/include/wine/vulkan.h:2414:1: error: initializer element is not constant ../wine/include/wine/vulkan.h:2415:1: error: initializer element is not constant ../wine/include/wine/vulkan.h:2416:1: error: initializer element is not constant make: *** [Makefile:155459: dlls/vulkan-1/tests/vulkan.o] Error 1