This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: macro __VAR_ARGS_ bug??


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]