This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: compile warnings
- From: Daniel Jacobowitz <drow at false dot org>
- To: GDB <gdb at sources dot redhat dot com>
- Date: Sat, 2 Apr 2005 22:16:54 -0500
- Subject: Re: compile warnings
- References: <20050403030505.GA4521@white>
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