------- Comment #3 from tortoise_74 at yahoo dot co dot uk  2009-03-12 18:34 
-------
I should point out (as it is not obvious to the uninitiated) that this may not
be legal C++ as "A string literal cannot be used as a template argument". 
String literals have internal linkage. So string arguments can only be used if
they are declared extern.

The bug might be that gcc is not outputting this message but instead an ICE or
something about the ABI.

However, a std::string is not the same as a char* so a language lawyer might be
needed here. The bugs manifest as if the two are identical. 


-- 


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

Reply via email to