compile warnings
Daniel Jacobowitz
drow@false.org
Sun Apr 3 03:16:00 GMT 2005
On Sat, Apr 02, 2005 at 10:05:05PM -0500, Bob Rossi wrote:
> Hi,
>
> Is this normal? This is using current CVS with
> $ gcc --version
> gcc (GCC) 3.3.5 (Debian 1:3.3.5-8)
>
> ../../src/gdb/printcmd.c: In function `printf_command':
> ../../src/gdb/printcmd.c:1962: warning: format not a string literal, argument types not checked
> ../../src/gdb/printcmd.c:1968: warning: format not a string literal, argument types not checked
> ../../src/gdb/printcmd.c:1975: warning: format not a string literal, argument types not checked
> ../../src/gdb/printcmd.c:1985: warning: format not a string literal, argument types not checked
Yep. There's an enforced -Wno-error on that file, for this reason.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list