c++/8586: Compiler should warn when converting a string literal to char*
Matt Austern
austern@apple.com
Thu Nov 21 18:04:00 GMT 2002
The following reply was made to PR c++/8586; it has been noted by GNATS.
From: Matt Austern <austern@apple.com>
To: Andrew Pinski <pinskia@physics.uc.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/8586: Compiler should warn when converting a string literal to char*
Date: Fri, 15 Nov 2002 16:39:54 -0800
On Friday, November 15, 2002, at 04:17 PM, Andrew Pinski wrote:
> Did you try the -Wwrite-strings option?
A good point! No, I didn't notice it; I just tried -W -Wall.
I suppose the only question now is whether -Wall should
also imply -Wwrite-strings.
--Matt
More information about the Gcc-prs
mailing list