From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11917 invoked by alias); 19 May 2003 14:51:19 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 11870 invoked from network); 19 May 2003 14:51:18 -0000 Received: from unknown (HELO cygnus.equallogic.com) (65.170.102.10) by sources.redhat.com with SMTP; 19 May 2003 14:51:18 -0000 Received: from cygnus.equallogic.com (localhost.localdomain [127.0.0.1]) by cygnus.equallogic.com (8.11.6/8.11.6) with ESMTP id h4JEpHr01492 for ; Mon, 19 May 2003 10:51:17 -0400 Received: from deneb.dev.equallogic.com (deneb.dev.equallogic.com [172.16.1.99]) by cygnus.equallogic.com (8.11.6/8.11.6) with ESMTP id h4JEpHu01477; Mon, 19 May 2003 10:51:17 -0400 Received: from pkoning.dev.equallogic.com.equallogic.com (localhost.localdomain [127.0.0.1]) by deneb.dev.equallogic.com (8.11.6/8.11.6) with ESMTP id h4JEpGe15699; Mon, 19 May 2003 10:51:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16072.61284.731179.840269@pkoning.dev.equallogic.com> Date: Mon, 19 May 2003 14:55:00 -0000 From: Paul Koning To: gdr@integrable-solutions.net Cc: zack@codesourcery.com, neil@daikokuya.co.uk, gcc@gcc.gnu.org Subject: Re: Warning for trigraphs in comment? References: <20030518193113.GC13596@daikokuya.co.uk> <16072.55751.300819.237661@pkoning.dev.equallogic.com> <871xyvf1pu.fsf@egil.codesourcery.com> <16072.60344.109869.222568@pkoning.dev.equallogic.com> X-SW-Source: 2003-05/txt/msg01758.txt.bz2 >>>>> "Gabriel" == Gabriel Dos Reis writes: Gabriel> Paul Koning writes: >> Oh. So it looks like what's needed is to have -ansi NOT imply >> -trigraphs. Gabriel> I'm not sure we are talking about the same thing. I was responding to your comment that "the real fix is to remove trigraphs from the standard". Indeed it is, but until then, making it maximally hard to turn them on would be a start. Gabriel> What is happening with current GCC in production use is that Gabriel> GCC choosed NOT to warn for trigraphs in comment even if Gabriel> -Wtrigraph. I'm guessing that you didn't say -trigraph, but rather that you got it implicitly because you said -ansi. That's where my suggestion came from. paul