http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52852
Bug #: 52852 Summary: The preprocessor fails to parse multi-line c++0x/c++11 raw strings. Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassig...@gcc.gnu.org ReportedBy: bcmp...@hotmail.com When compiling the following piece of code, using "g++ -v -save-temps a.cpp -std=c++0x", the preprocessor fails to parse it correctly. This causes the compilation to fail. #include <cstdio> #define log(a) printf("%s\n", a) int main() { log(R"delimiter( Multi line raw string )delimiter"); } The -save-temps output is attached.