Varargs macros subtly broken

Neil Booth
Tue Sep 26 23:18:00 GMT 2000

Jamie Lokier wrote:-

> *boggle* you mean this is broken even without varargs?  Ouch!

No, only in the varargs case.

> Lots of my programs use function-like macros in this way, for the most
> basic things like hash tables and sorting functions.
> I'll have to see if they still compile.  Oh, they do.  What am I missing
> from the above explanation?

Just that the normal case is taken care of <g>.


More information about the Gcc-bugs mailing list