This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor token pasting, 2.95 vs 3.0
On Jun 19, 2001, Justin Guyett <jfg@sonicity.com> wrote:
> foo.bar ## 2 ## .baz()
> ../test.h:32:9: warning: pasting "bar2" and "." does not give a valid
> preprocessing token
You don't need the second `##', since `bar2' and `.' are to be parsed
as separate tokens anyway.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me