https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114773
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://gcc.gnu.org/gcc-4.5/changes.html Looks like it is on purpose: C++0x raw strings are supported for C++ and for C with -std=gnu99. https://inbox.sourceware.org/gcc-patches/20080912132007.ga9...@hs20-bc2-1.build.redhat.com/