From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18200 invoked by alias); 10 Mar 2004 18:22:30 -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 18191 invoked from network); 10 Mar 2004 18:22:28 -0000 Received: from unknown (HELO are.twiddle.net) (64.81.246.98) by sources.redhat.com with SMTP; 10 Mar 2004 18:22:28 -0000 Received: from are.twiddle.net (localhost.localdomain [127.0.0.1]) by are.twiddle.net (8.12.8/8.12.8) with ESMTP id i2AIMRqb006666; Wed, 10 Mar 2004 10:22:27 -0800 Received: (from rth@localhost) by are.twiddle.net (8.12.8/8.12.8/Submit) id i2AIMReX006664; Wed, 10 Mar 2004 10:22:27 -0800 X-Authentication-Warning: are.twiddle.net: rth set sender to rth@twiddle.net using -f Date: Wed, 10 Mar 2004 18:22:00 -0000 From: Richard Henderson To: Linus Torvalds Cc: Thomas Schlichter , Andrew Morton , linux-kernel@vger.kernel.org, gcc@gcc.gnu.org Subject: Re: [PATCH] fix warning about duplicate 'const' Message-ID: <20040310182227.GA6647@twiddle.net> Mail-Followup-To: Linus Torvalds , Thomas Schlichter , Andrew Morton , linux-kernel@vger.kernel.org, gcc@gcc.gnu.org References: <200403090043.21043.thomas.schlichter@web.de> <20040308161410.49127bdf.akpm@osdl.org> <200403090217.40867.thomas.schlichter@web.de> <20040310054918.GB4068@twiddle.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-SW-Source: 2004-03/txt/msg00519.txt.bz2 On Wed, Mar 10, 2004 at 07:43:10AM -0800, Linus Torvalds wrote: > Ok, let's try just stripping the "const" out of the min/max macros, and > see what complains. I remember what complains. You get actual errors from const int x; int y; min(x, y); r~