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

--- Comment #1 from mike.c at rocketime dot com 2011-10-07 00:35:20 UTC ---
The quick fix:

#pragma GCC diagnostic ignored "-Wwrite-strings"

... of course eliminates the warnings -- but logically, you DO WANT A WARNING
when you should be declaring

const char* (and you forget const)

but LOGICALLY you don't want I warning when passing a string literal to a char*
parameter in a function.

Reply via email to