On Thu Jul 28 08:32:12 2022 +0000, Huw Davies wrote:
This is producing a complier warning here:
gcc -m32 -c -o dlls/win32u/sysparams.o dlls/win32u/sysparams.c -Idlls/win32u -Iinclude -D__WINESRC__ -DWINE_NO_LONG_TYPES \ -D_MSVCR_VER=0 -DWINE_UNIX_LIB -I/Users/daviesh/extras/include/freetype2 \ -I/Users/daviesh/extras/include/libpng16 -I/Users/daviesh/extras/include -Wall -pipe \ -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Winit-self -Wno-pragma-pack -Wstrict-prototypes -Wtype-limits -Wvla \ -Wwrite-strings -Wpointer-arith -gdwarf-4 -fno-omit-frame-pointer -fPIC \ -fasynchronous-unwind-tables -O2 -g -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 dlls/win32u/sysparams.c:1537:26: warning: suggest braces around initialization of subobject [-Wmissing-braces] DEVMODEW mode = {0}; ^ {}
Thanks. For some reason I never catch these, is this with a specific GCC version?