From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11119 invoked by alias); 18 May 2003 17:17:01 -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 11095 invoked from network); 18 May 2003 17:17:00 -0000 Received: from unknown (HELO egil.codesourcery.com) (66.92.14.122) by sources.redhat.com with SMTP; 18 May 2003 17:17:00 -0000 Received: from zack by egil.codesourcery.com with local (Exim 3.36 #1 (Debian)) id 19HRlG-0003eF-00; Sun, 18 May 2003 10:15:50 -0700 To: Gabriel Dos Reis Cc: gcc@gcc.gnu.org Subject: Re: Warning for trigraphs in comment? References: From: Zack Weinberg Date: Sun, 18 May 2003 18:54:00 -0000 In-Reply-To: (Gabriel Dos Reis's message of "18 May 2003 14:42:24 +0200") Message-ID: <87he7sdvlm.fsf@egil.codesourcery.com> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg01702.txt.bz2 Gabriel Dos Reis writes: > Second, consider the comment line. Did you notice that it ends oddly, > with a "/"? > > // What will the next line do? Increment???????????/ > ^ ... > > is extracted from Herb's GTW #86 -- full message appended below. > I would suggest we warn for trigraphs in comments. This was discussed a couple weeks back. 3.4 now warns about ??/\n in a comment. The change is self-contained and could be put into 3.3.1 if people think that's a good idea. zw