This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Fwd: Re: c++/2988: Incorrect error on assignment of const char[] to char *
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Fwd: Re: c++/2988: Incorrect error on assignment of const char[] to char *
- From: Richard Smith <ros at tao-group dot com>
- Date: Tue, 29 May 2001 13:39:42 +0100
- Organization: Tao Systems
- Reply-To: ros at tao-group dot com
I'm afraid I attached the demo to this PR after amending it, and am unable to
correct it. Line 9 should be changed from
args[1] = (flags==0) ? (char *)"-n" : (char *)"-p";
to
args[1] = (flags==0) ? "-n" : "-p";
My apologies!
--
Regards,
Richard Smith