This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/5033: non const char *'s initial pointee data left on read only segment, causes seg. fault.
- From: neil at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rs025019 at se dot ritsumei dot ac dot jp
- Date: 6 Dec 2001 14:31:50 -0000
- Subject: Re: c/5033: non const char *'s initial pointee data left on read only segment, causes seg. fault.
Synopsis: non const char *'s initial pointee data left on read only segment, causes seg. fault.
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Thu Dec 6 06:31:49 2001
State-Changed-Why:
Not a bug. This is not a property of the type assigned to,
it is a property of the type of string literals.
See -fwritable-strings and -Wwrite-strings in the manual.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=5033&database=gcc