From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32331 invoked by alias); 16 Nov 2002 00:46:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 32312 invoked by uid 71); 16 Nov 2002 00:46:02 -0000 Date: Thu, 21 Nov 2002 18:04:00 -0000 Message-ID: <20021116004602.32311.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Matt Austern Subject: Re: c++/8586: Compiler should warn when converting a string literal to char* Reply-To: Matt Austern X-SW-Source: 2002-11/txt/msg00801.txt.bz2 List-Id: The following reply was made to PR c++/8586; it has been noted by GNATS. From: Matt Austern To: Andrew Pinski 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