[Bug 15388] New: gdi32: dib.c fails to build with gcc 4.2, -Werror -O3

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 23 10:23:10 CDT 2008


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 at winehq.org
        ReportedBy: austinenglish at 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


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list