textdomain warning removal

Alan Modra alan@linuxcare.com.au
Fri May 12 02:43:00 GMT 2000


On Fri, 12 May 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?

Huh?  Are you saying the macros for textdomain and bindtextdomain, that
expand to "while (0)", will break K&R compilers?  Are you suggesting
that binutils should no longer try to be K&R compliant?

-- 
Linuxcare.  Support for the Revolution.



More information about the Binutils mailing list