c++/5546: Bad "const" verification

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Apr 26 09:19:00 GMT 2002


Synopsis: Bad "const" verification

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Apr 26 09:06:57 2002
State-Changed-Why:
    you need to add -W, and then it says,
    nathan@manao:171>g++ -c 5546.cc 
    5546.cc: In function `int main(int, char**)':
    5546.cc:8: warning: deprecated conversion from string constant to `char*'
    
    note, you've attempted to modify a constant object, and
    therefore entered undefined teritory.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5546



More information about the Gcc-bugs mailing list