This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
preprocessor token pasting, 2.95 vs 3.0
- To: <gcc at gcc dot gnu dot org>
- Subject: preprocessor token pasting, 2.95 vs 3.0
- From: Justin Guyett <jfg at sonicity dot com>
- Date: Tue, 19 Jun 2001 16:50:32 -0700 (PDT)
lines containing things like
foo.y ## 2.clear()
worked in 2.95. Is it expected and proper that in 3.0+ this should be
foo.bar ## 2 ## .baz()
and is there any workaround to all the warnings the second form generates?
../test.h:32:9: warning: pasting "bar2" and "." does not give a valid
preprocessing token
please cc, apparently i'm not on the list yet.
thanks,
justin