From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12009 invoked by alias); 23 Oct 2009 19:12:16 -0000 Received: (qmail 11992 invoked by uid 22791); 23 Oct 2009 19:12:15 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-gx0-f225.google.com (HELO mail-gx0-f225.google.com) (209.85.217.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Oct 2009 19:12:10 +0000 Received: by gxk25 with SMTP id 25so1104289gxk.16 for ; Fri, 23 Oct 2009 12:12:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.207.14 with SMTP id e14mr18804756ybg.149.1256325128592; Fri, 23 Oct 2009 12:12:08 -0700 (PDT) In-Reply-To: <004801ca53fe$d9536400$0101a8c0@huaweixczf0ea8> References: <000501ca53e8$f6aa8990$0101a8c0@huaweixczf0ea8> <94cf76f0910230703s6d343cf2te21fc9263d23f9b1@mail.gmail.com> <004801ca53fe$d9536400$0101a8c0@huaweixczf0ea8> Date: Fri, 23 Oct 2009 22:46:00 -0000 Message-ID: Subject: Re: Why does GCC Preprocessor NOT support such macro? From: Andrew Pinski To: Zhang Lin Cc: John Graham , gcc@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-10/txt/msg00480.txt.bz2 On Fri, Oct 23, 2009 at 9:35 AM, Zhang Lin wrote: > Sorry, maybe my =C2=A0representation is not quite clear. > I mean that I didn't define ACE_HAS_NONSTATIC_OBJECT_MANAGER at all, so t= he preprocesser should not process "#elif (ACE_HAS_NONSTATIC_OBJECT_MANAGER= =3D=3D 0)", the following simple cpp can reproduce the problem. See bug 36453 , this code is invalid. Anyways this is offtopic for this mailing list, next time send an email to gcc-help@ for developing with GCC questions. Thanks, Andrew Pinski