textdomain warning removal
Andrew Cagney
ac131313@cygnus.com
Fri May 12 02:29:00 GMT 2000
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
More information about the Binutils
mailing list