http://bugs.winehq.org/show_bug.cgi?id=16337
Summary: dinput/tests/joystick: format not a string literal and no format arguments Product: Wine Version: 1.1.9 Platform: PC OS/Version: Linux Status: NEW Keywords: download, patch, source Severity: minor Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=17642) --> (http://bugs.winehq.org/attachment.cgi?id=17642) patch
gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -Werror -o joystick.o joystick.c cc1: warnings being treated as errors joystick.c: In function ‘EnumJoysticks’: joystick.c:387: error: format not a string literal and no format arguments make[2]: *** [joystick.o] Error 1 make[2]: Leaving directory `/home/austin/wine-git/dlls/dinput/tests' make[1]: *** [dinput/tests] Error 2 make[1]: Leaving directory `/home/austin/wine-git/dlls' make: *** [dlls] Error 2
Attached patch fixes the issue, but may not be a proper fix.
Only occurs on gcc 4.3+
http://bugs.winehq.org/show_bug.cgi?id=16337
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com 2008-12-05 12:09:56 --- Fixed, thanks Vincent!
http://bugs.winehq.org/show_bug.cgi?id=16337
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:06:13 --- Closing bugs fixed in 1.1.11.