This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: [RFC] Change configure.in so -W arnings match reality


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

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