[Bug c++/53843] Macros following string literals don't expand in C++11 mode

2012-07-03 Thread joseph.h.garvin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843

--- Comment #1 from Joseph Garvin joseph.h.garvin at gmail dot com 2012-07-03 
19:56:28 UTC ---
Forgot to mention inserting a space between x and bar fixes the error.


[Bug c++/53843] Macros following string literals don't expand in C++11 mode

2012-07-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2012-07-03 
19:58:06 UTC ---
AFAIK this is not correct behavior. I wouldn't expect the preprocessor behavior

And this is the one of the main incompatibilities between C++98 and C++11.


[Bug c++/53843] Macros following string literals don't expand in C++11 mode

2012-07-03 Thread joseph.h.garvin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843

--- Comment #3 from Joseph Garvin joseph.h.garvin at gmail dot com 2012-07-03 
20:00:28 UTC ---
Sorry, I Googled for C++11 preprocessor changes and didn't find anything
discussing this. Do you have a link?


[Bug c++/53843] Macros following string literals don't expand in C++11 mode

2012-07-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org 2012-07-03 
20:02:18 UTC ---
http://gcc.gnu.org/gcc-4.7/porting_to.html


[Bug c++/53843] Macros following string literals don't expand in C++11 mode

2012-07-03 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53843

--- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-03 
20:07:11 UTC ---
and C.2.1 in the C++11 standard

and PR 50917 and PR 51282

and https://groups.google.com/forum/#!topic/comp.std.c++/9nD4Mb8pN1Q
(the second to last post quotes C.2.1)