From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5834 invoked by alias); 19 May 2003 14:35:38 -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 5818 invoked from network); 19 May 2003 14:35:38 -0000 Received: from unknown (HELO cygnus.equallogic.com) (65.170.102.10) by sources.redhat.com with SMTP; 19 May 2003 14:35:38 -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 h4JEZbr01140 for ; Mon, 19 May 2003 10:35:37 -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 h4JEZau01125; Mon, 19 May 2003 10:35:36 -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 h4JEZaC14405; Mon, 19 May 2003 10:35:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16072.60344.109869.222568@pkoning.dev.equallogic.com> Date: Mon, 19 May 2003 14:37:00 -0000 From: Paul Koning To: zack@codesourcery.com Cc: gdr@integrable-solutions.net, 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> X-SW-Source: 2003-05/txt/msg01755.txt.bz2 >>>>> "Zack" == Zack Weinberg writes: Zack> Paul Koning writes: >>>>>>> "Gabriel" == Gabriel Dos Reis >>>>>>> writes: >> >> The patch is not appropriate for 3.3. >> The real fix is to >> remove trigraphs from the standard. >> Gabriel> Oh, I'm all for removing trigraphs, digraphs, quadrigraphs Gabriel> and whatevergraphs -- I've also thought they were mistakes. Gabriel> But, in fact, I'm skeptical that would ever happen. >> I like the notion too. Trigraphs are an utter misfeature. >> >> Would it make sense to have the lexer ignore trigraphs (i.e., just >> treat ??/ as three characters) unless specifically enabled with >> -fenable-trigraphs? In the unlikely case that anyone actually >> uses trigraphs, this would enable them to continue doing so. Zack> GCC has done this for decades. See the documentation of the Zack> -trigraphs option. Oh. So it looks like what's needed is to have -ansi NOT imply -trigraphs. paul