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: -Wall -Wno-unused-param


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

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