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: Jim Kingdon <kingdon at redhat dot com>
- Subject: Re: [RFC] Change configure.in so -W arnings match reality
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 22 Feb 2000 13:32:15 +1100
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <38B123B9.F3736CC0@cygnus.com> <bitziscy8.fsf@rtl.cygnus.com>
Jim Kingdon wrote:
>
> > The attatched patch changes the default warnings used when compiling GDB
> > so that they match the current reality (there are many more warnings
> > that could be fixed but they are for post 5.0).
>
> No objections but it doesn't solve the problem. The defaults which
> actually get used (on a vanilla "./configure && make") are in the
> top-level configure (which is still using Cygnus configure not
> autoconf) and are -W -Wall. Since the top-level configure.in is
> shared with other programs this isn't quite as easy (maybe it needs to
> pass different values for each directory it recurses into?).
As they say ``but it worked for me''....
Dig dig. I configured with CC=gcc295 and, by luck, the top level
configure didn't recognize that as a valid GCC compiler.
The top level also needs a change. Sigh.
thanks,
Andrew