[Bug c++/26531] Use of templates in macro expansion confuses pre-processor
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 2 18:27:00 GMT 2006
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-02 18:27 -------
This is not a bug.
There are two arguments passed to the macro MYMACRO, "{\n SomeClass<int" and
"int> test;\n }".
the only way to force an argument passed to the preprocessor macros is to wrap
them in parentheses.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26531
More information about the Gcc-bugs
mailing list