------- Comment #6 from paolo dot carlini at oracle dot com 2010-02-10 10:16 ------- There are many details to this, but note that if you stay away from c_str(), and const char*, thus you consistently use C++ style strings, nothing unexpected happens, *ever*.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43014