This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: rfc: macros accepting constructors
Neil Booth <neil@daikokuya.co.uk> writes:
|> Andreas Schwab wrote:-
|>
|> > As I wrote earlier, that hole could have been plugged by making parens
|> > around compound literals mandatory.
|> >
|> > But there is already another feature that breaks when you turn a function
|> > into a macro: preprocessing directives inside argument lists.
|>
|> Nope, that works now, in GCC 3.2.
But you can't count on it, since it's undefined per C standard.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."