This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]