c/5033: non const char *'s initial pointee data left on read only segment, causes seg. fault.
neil@gcc.gnu.org
neil@gcc.gnu.org
Thu Dec 6 09:14:00 GMT 2001
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
More information about the Gcc-bugs
mailing list