This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: textdomain warning removal


Ben Elliston wrote:
> 
> > Has anyone any objection to changing the definition of textdomain and
> > bindtextdomain as follows?  This silences gcc as regards
> > "warning: statement with no effect"
> 
> These changes are a bit unfortunate in light of the need to retain
> compatibility with ancient compilers.  GDB now requires an ISO C compiler
> to build it (e.g. GCC).  Can't the binutils follow suit?

To expand a little.  GDB requires a compiler that can parse the ISO-C
syntax.  It, unfortunatly, can't assume things like ISO-C headers and
libraries.

GDB 4.18 contained one ISO-C function declaration/definition as a trial
to see if anyone complained.  Since then GDB 5.0 has become littered
with ISO-Cisms.  GDB 6.0 (scheduled for year 3k?) will be K&R clean.

	enjoy,
		Andrew

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