http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50645
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2011-10-07 Ever Confirmed|0 |1 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-07 01:10:45 UTC --- two points: 1) the component for this bug should surely be c++, since the "deprecated conversion" warning is only issued by the C++ front end, the C front end says passing argument 1 of ‘myfunction’ discards ‘const’ qualifier from pointer target type and even then, only with -Wwrite-strings, which is not enabled by -Wall -Wextra 2) unlike the PR's summary, the warning says "deprecated conversion from string CONSTANT to 'char*'" (emphasis mine) which should be a pretty big clue that it's warning you about a real problem. I can't see any good reason this PR isn't INVALID, but will go for WAITING in case you have a better case to make for changing the current behaviour, which is entirely consistent with the C++ standard.