macro __VAR_ARGS_ bug??

Neil Booth neil@daikokuya.co.uk
Mon Aug 5 10:19:00 GMT 2002


Reza Roboubi wrote:-

> I was trying to understand the cpp source code because I could
> potentially need to use it.  So, I was just playing.  I don't feel I'll
> ever have any code that needs that feature.  However, if I understand
> the documentation correctly, it says that this behavior is required by
> c99.  

You're right - pasting with a placemarker is valid (even if the other
token is a comma) and gives the other token.  There is only one
correct answer, and it is what Zack originally documented.  I'll post
a fix soon; it should appear in 3.2.1 (not in 3.2).

Neil.



More information about the Gcc-bugs mailing list