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@winehq.org ReportedBy: adys.wh+winehqdotorg@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