[RFC] Change configure.in so -W arnings match reality
Andrew Cagney
ac131313@cygnus.com
Tue Apr 18 16:56:00 GMT 2000
David Whedon wrote:
>
> I'm building the gdb 5.0 branch on our sgi and it has a problem with the
> warning flags.
>
> This error, I believe, is caused by this patch.
> ( http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00276.html )
> My problem would be fixed if -Wreturn-type is removed from gdb/configure.in
> (see the patch for more info)
>
> I think it is because I am using an old gcc (October '99)
>
> This error went away after I removed '-Wreturn-type' from the gdb/Makefile
> WARN_CFLAGS line.
Thanks for finding it. I'll disable warnings on the 5.0 branch.
(They can also be disabled using --disable-build-warnings)
Andrew
More information about the Gdb-patches
mailing list