http://bugs.winehq.org/show_bug.cgi?id=15388
Summary: gdi32: dib.c fails to build with gcc 4.2, -Werror -O3 Product: Wine Version: 1.1.5 Platform: PC OS/Version: Linux Status: NEW Keywords: source Severity: enhancement Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
ccache /usr/bin/gcc-4.2 -O3 -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2 -D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Werror -o dib.o dib.c cc1: warnings being treated as errors dib.c: In function ‘CreateDIBSection16’: dib.c:1162: warning: ‘size’ may be used uninitialized in this function dib.c:1162: warning: ‘compr’ may be used uninitialized in this function dib.c:1161: warning: ‘bpp’ may be used uninitialized in this function dib.c:1160: warning: ‘height’ may be used uninitialized in this function dib.c:1160: warning: ‘width’ may be used uninitialized in this function make: *** [dib.o] Error 1