c++/8586: Compiler should warn when converting a string literal to char*

Andrew Pinski pinskia@physics.uc.edu
Thu Nov 21 17:31:00 GMT 2002


The following reply was made to PR c++/8586; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: austern@apple.com
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:17:33 -0800

 Did you try the -Wwrite-strings option?
 
 Thanks,
 Andrew Pinski
 



More information about the Gcc-prs mailing list