http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48740
--- Comment #13 from Kay Hayen <kayhayen at gmx dot de> 2011-04-23 15:10:32 UTC --- Oh, it occured to me something that I could test: [~]> g++-4.6 -c --std=c++0x testcase.cpp -Wall -Werror testcase.cpp:3:17: error: unterminated raw string testcase.cpp:3:15: error: expected primary-expression at end of input testcase.cpp:3:15: error: expected ‘,’ or ‘;’ at end of input [~]> /usr/bin/g++-4.6 -c --std=c++0x testcase.cpp -Wall -Werror [~]> which g++-4.6 /usr/local/bin//g++-4.6 [~]> ls -l /usr/local/bin//g++-4.6 lrwxrwxrwx 1 root staff 15 7. Jan 15:12 /usr/local/bin//g++-4.6 -> /usr/bin/ccache So, it's a bug of ccache or the way it interacts with g++ How on earth exactly do I apologize. In no way had I thought it possible that ccache would ever cause a problem, not was I aware or near sure if it is used at all. If you close this bug as invalid, I will take it to ccache upstream or Debian. Yours, Kay Hayen