From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8051 invoked by alias); 5 Aug 2009 00:58:14 -0000 Received: (qmail 8041 invoked by uid 22791); 5 Aug 2009 00:58:13 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from vinc17.pck.nerim.net (HELO prunille.vinc17.org) (213.41.242.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Aug 2009 00:58:07 +0000 Received: by prunille.vinc17.org (Postfix, from userid 501) id 336563CBEE2F; Wed, 5 Aug 2009 02:58:05 +0200 (CEST) Date: Wed, 05 Aug 2009 03:11:00 -0000 From: Vincent Lefevre To: gcc@gcc.gnu.org Subject: Re: order of -D and -U is significant Message-ID: <20090805005805.GJ1239@prunille.vinc17.org> Mail-Followup-To: gcc@gcc.gnu.org References: <20090804160330.GA19998@synopsys.com> <90EDB998-87F5-41C4-846E-E5999AB8AB53@ihug.co.nz> <20090804224404.GC19998@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090804224404.GC19998@synopsys.com> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.20-6003-vl-r30587 (2009-07-30) X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00081.txt.bz2 On 2009-08-04 15:44:05 -0700, Joe Buck wrote: > But AFAIK neither Posix nor the C89 standard nor the C99 standard > say anything about -D and -U flags. It's the Single UNIX specification > that is the issue, and it refers to a command that is spelled "c89", > or (in later versions) "c99", not "gcc". c99 with the mentioned -D and -U flags is specified by: The Open Group Base Specifications Issue 7 IEEE Std 1003.1-2008 That's POSIX.1-2008. See http://www.opengroup.org/onlinepubs/9699919799/utilities/c99.html -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)