http://bugs.winehq.org/show_bug.cgi?id=16340
Summary: winedbg/db_disasm: 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=17645) --> (http://bugs.winehq.org/attachment.cgi?id=17645) 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 db_disasm.o db_disasm.c cc1: warnings being treated as errors db_disasm.c: In function ‘db_disasm_esc’: db_disasm.c:1264: error: format not a string literal and no format arguments db_disasm.c: In function ‘be_i386_disasm_one_insn’: db_disasm.c:1466: error: format not a string literal and no format arguments db_disasm.c:1468: error: format not a string literal and no format arguments db_disasm.c:1474: error: format not a string literal and no format arguments make[2]: *** [db_disasm.o] Error 1 make[2]: Leaving directory `/home/austin/wine-git/programs/winedbg' make[1]: *** [winedbg] Error 2 make[1]: Leaving directory `/home/austin/wine-git/programs' make: *** [programs] Error 2
Attached patch fixes the issue, but may not be a proper fix.
Only occurs on gcc 4.3+