[Bug c++/48740] Raw C++0x strings and trigraphs mix badly

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 23 11:56:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48740

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-23 11:55:24 UTC ---
I get no error with 4.6.1 20110415 (prerelease), nor current trunk, nor 4.6.0
20101005 (experimental), and all the way back to
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157804
What doesn't work though is -save-temps, apparently
it is preprocessed as
# 1 "q.C"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "q.C"
char const *R = R"raw(foo%sbar%sfred%sbob?????]raw";
with ] instead of ), so that is something we should fix.  Probably you are
using ccache and failed to mention that important thing...



More information about the Gcc-bugs mailing list