http://bugs.winehq.org/show_bug.cgi?id=16341
Summary: wineserver/trace: 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=17646) --> (http://bugs.winehq.org/attachment.cgi?id=17646) patch
gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -Werror -o trace.o trace.c cc1: warnings being treated as errors trace.c: In function ‘dump_timeout’: trace.c:70: error: format not a string literal and no format arguments make[1]: *** [trace.o] Error 1 make[1]: Leaving directory `/home/austin/wine-git/server' make: *** [server] Error 2
Attached patch fixes the issue, but may not be a proper fix.
Only occurs on gcc 4.3+