From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22039 invoked by alias); 4 May 2003 10:06:07 -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 22002 invoked by uid 71); 4 May 2003 10:06:03 -0000 Date: Sun, 04 May 2003 10:06:00 -0000 Message-ID: <20030504100603.22001.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Neil Booth Subject: Re: preprocessor/10613: Please make -Wtrigraphs the default Reply-To: Neil Booth X-SW-Source: 2003-05/txt/msg00228.txt.bz2 List-Id: The following reply was made to PR preprocessor/10613; it has been noted by GNATS. From: Neil Booth To: Hallvard B Furuseth Cc: neil@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: preprocessor/10613: Please make -Wtrigraphs the default Date: Sun, 4 May 2003 10:59:02 +0100 Hallvard B Furuseth wrote:- > No. -Wall would be enough if -trigraphs was turned on by default, or if > trigrahs where syntax errors by default. My problem is that code > _silently_ compiles differently on gcc with standard options and on an > ISO C compiler. This is very different from normal gcc extensions, > where the code won't compile at all on an ISO C compilers - then one > certainly notices the difference. OK, I'll prepare a patch for 3.4 where -Wtrigraphs is on by default. However, if there are complaints I will revert it to -Wall only, since that is the long-standing behaviour. Neil.