From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8509 invoked by alias); 17 Jan 2003 05:31:20 -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 8496 invoked from network); 17 Jan 2003 05:31:15 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 17 Jan 2003 05:31:15 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ZP4i-00010Y-00 for ; Fri, 17 Jan 2003 06:29:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gcc@gcc.gnu.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ZP4g-00010G-00 for ; Fri, 17 Jan 2003 06:29:50 +0100 Path: not-for-mail From: Ben Elliston Subject: Re: new parser: error recovery needs work Date: Fri, 17 Jan 2003 11:36:00 -0000 Organization: Red Hat Asia-Pacific Pty Ltd Message-ID: References: <20030116113344.C1BC1F2DD4@nile.gnat.com> <20030116080000.C17601@synopsys.com> <20030116141105.A12759@disaster.jaj.com> <20030116120007.A9232@us.ibm.com> <20030117035208.GA16750@ceres.cs.mu.oz.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) Cache-Post-Path: scooby.brisbane.redhat.com!unknown@scooby.brisbane.redhat.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Cache-Post-Path: webdevap.brisbane.redhat.com!unknown@scooby.brisbane.redhat.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) X-SW-Source: 2003-01/txt/msg00824.txt.bz2 >>>>> "Fergus" == Fergus Henderson writes: Fergus> We've discussed this before. The concensus last time (as I Fergus> understood it) was that alphanumeric message codes where a Fergus> better alternative to message numbers. Message codes are Fergus> easier to remember, more self-documenting, and avoid Fergus> collisions between new warnings added on different CVS Fergus> branches or in different repositories. Another advantage of message codes (and to a lesser extent, message numbers) is that it's much easier to filter warnings that you don't care about. Emacs' compilation mode, for example, could be modified to deal with this. It could almost satisfy every request I've heard for "give me a command line option to silence warning". Ben