-Wall -Wno-unused-param
Andrew Cagney
ac131313@cygnus.com
Thu Mar 23 17:13:00 GMT 2000
Michael Meissner wrote:
>
> On Thu, Mar 23, 2000 at 03:41:58PM +1100, Andrew Cagney wrote:
> > Just FYI,
> >
> > I'm going through the final steps of having GCC accept the above. This
> > means that GDB doesn't need to bother with the ATTRIBUTE_UNUSED guff :-)
>
> Note, this assumes you are using the latest (and greatest?) compiler. I would
> be surprised if there is an official release of the FSF compiler before
> October, since we are not currently in a release freeze cycle, and just got a
> new release manager. If you put in ATTRIBUTE_UNUSED it will work whether or
> not you use an old compiler or a new one.
True. GDB's configury will need to be updated to check that GCC supports
the flags.
With regard to ATTRIBUTE_UNUSED, GDB is sitting at a cross road where
people could either go through and add that everywhere or just require
people to use a state-of-the-art compiler to check for warnings. I like
the latter, its easier overall :-)
Andrew
More information about the Gdb-patches
mailing list