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+
http://bugs.winehq.org/show_bug.cgi?id=16340
--- Comment #1 from Austin English austinenglish@gmail.com 2008-12-04 20:09:30 --- Forgot a couple more:
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 memory.o memory.c cc1: warnings being treated as errors memory.c: In function ‘memory_get_register’: memory.c:680: error: format not a string literal and no format arguments memory.c:680: error: format not a string literal and no format arguments make: *** [memory.o] Error 1
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 symbol.o symbol.c cc1: warnings being treated as errors symbol.c: In function ‘symbol_print_local’: symbol.c:653: error: format not a string literal and no format arguments make: *** [symbol.o] Error 1
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 types.o types.c cc1: warnings being treated as errors types.c: In function ‘types_print_type’: types.c:719: error: format not a string literal and no format arguments make: *** [types.o] Error 1
http://bugs.winehq.org/show_bug.cgi?id=16340
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2008-12-05 12:10:29 --- Fixed, thanks Vincent!
http://bugs.winehq.org/show_bug.cgi?id=16340
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:06:31 --- Closing bugs fixed in 1.1.11.