K
Keith Thompson
Keith Thompson said:That will cause gcc to emit a warning message if it can determine at
compilation time that you've attempted to modify a string literal.
[long explanation snipped]
To be fair, though, it will cause a warning to be generated for the
original code in question.