[Bug c++/20475] static_cast falsely allows const to be cast away

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 14 20:14:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-14 20:14 -------
With -Wwrite-strings, I do get a warning:
t.cc:3: warning: deprecated conversion from string constant to ‘char*’'


-- 


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



More information about the Gcc-bugs mailing list