This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [RFC] Change configure.in so -W arnings match reality
- To: David Whedon <davidw at gordian dot com>
- Subject: Re: [RFC] Change configure.in so -W arnings match reality
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 19 Apr 2000 09:54:31 +1000
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <Pine.LNX.4.04.10004181444000.19907-100000@pcx08>
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