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