https://bugs.winehq.org/show_bug.cgi?id=45554
Bug ID: 45554 Summary: winex11.drv build fail with GCC 4.5 Product: Wine-staging Version: 3.13 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Zenitur@yandex.ru CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
With GCC 4.6 it successfully builds.
gcc -m64 -c -o vulkan.o vulkan.c -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \ -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 \ -gstrict-dwarf -DLDAP_DEPRECATED=1 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
vulkan.c:60:17: error: redefinition of typedef 'VkXlibSurfaceCreateFlagsKHR' ../../include/wine/vulkan.h:392:17: note: previous declaration of 'VkXlibSurfaceCreateFlagsKHR' was here make[1]: *** [vulkan.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/wine-3.13/dlls/winex11.drv' make: *** [dlls/winex11.drv] Error 2