[Bug 16568] New: Compiler warnings in last git (gcc 4.3.2)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 19 06:47:56 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=16568

           Summary: Compiler warnings in last git (gcc 4.3.2)
           Product: Wine
           Version: CVS/GIT
          Platform: PC-x86-64
               URL: http://source.winehq.org
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: adys.wh+winehqdotorg at gmail.com


gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) on x86_64-linux-gnu



gcc-4.3 -m32 -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g
-O2  -o surface.o surface.c
surface.c: In function ‘IWineD3DSurfaceImpl_SaveSnapshot’:
surface.c:2438: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
surface.c:2440: warning: ignoring return value of ‘fwrite’, declared with
attribute warn_unused_result
gcc-4.3 -m32 -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g
-O2  -o surface_gdi.o surface_gdi.c
surface_gdi.c: In function ‘IWineGDISurfaceImpl_SaveSnapshot’:
surface_gdi.c:330: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
surface_gdi.c:362: warning: ignoring return value of ‘fwrite’, declared
with attribute warn_unused_result
gcc-4.3 -m32 -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g
-O2  -o swapchain.o swapchain.c


-- 
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