[rfa] missing #include "gdb_string.h"

Andrew Cagney ac131313@redhat.com
Fri Sep 27 12:48:00 GMT 2002


> gcc -c -g -O2    -I. -I/extra/gdb/nightly/src/gdb -I/extra/gdb/nightly/src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I/extra/gdb/nightly/src/gdb/../include/opcode -I/extra/gdb/nightly/src/gdb/../readline/.. -I../bfd -I/extra/gdb/nightly/src/gdb/../bfd  -I/extra/gdb/nightly/src/gdb/../include -I../intl -I/extra/gdb/nightly/src/gdb/../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Werror /extra/gdb/nightly/src/gdb/remote-sds.c
> cc1: warnings being treated as errors
> /extra/gdb/nightly/src/gdb/remote-sds.c: In function `getmessage':
> /extra/gdb/nightly/src/gdb/remote-sds.c:981: warning: deprecated use of label at end of compound statement
> make[1]: *** [remote-sds.o] Error 1
> make[1]: Leaving directory `/extra/gdb/nightly/builds/gdb-allcross/powerpc-eabi/gdb'
> make: *** [all-gdb] Error 2
> 
It's a new warning (newer gcc).  Want to fix?

Andrew




More information about the Gdb-patches mailing list