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
http://bugs.winehq.org/show_bug.cgi?id=16568
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|directx-d3d |-unknown Resolution| |DUPLICATE Version|CVS/GIT |1.1.10
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-12-19 06:54:05 --- Please search bugs before reporting a new one.
*** This bug has been marked as a duplicate of bug 16413 ***
http://bugs.winehq.org/show_bug.cgi?id=16568
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-12-19 06:54:18 --- Closing.