This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/5546: Bad "const" verification


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]