From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21532 invoked by alias); 28 Feb 2003 21:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21512 invoked by uid 71); 28 Feb 2003 21:26:00 -0000 Resent-Date: 28 Feb 2003 21:26:00 -0000 Resent-Message-ID: <20030228212600.21510.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, stephen@rabbit.eng.miami.edu Received: (qmail 19150 invoked by uid 48); 28 Feb 2003 21:17:24 -0000 Message-Id: <20030228211724.19149.qmail@sources.redhat.com> Date: Fri, 28 Feb 2003 21:26:00 -0000 From: stephen@rabbit.eng.miami.edu Reply-To: stephen@rabbit.eng.miami.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/9891: #error does not expand macros X-SW-Source: 2003-02/txt/msg01502.txt.bz2 List-Id: >Number: 9891 >Category: c++ >Synopsis: #error does not expand macros >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Feb 28 21:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: GCC >Release: gcc version 2.95.4 20020320 [FreeBSD] >Organization: >Environment: freeBSD 4.7-RELEASE >Description: #error does not expand macros. This program > #include > > #define ABCD the cat sat on the mat > > #error ABCD > > void main(void) > { } produces > x.cpp:5: #error ABCD instead of > x.cpp:5: #error the cat sat on the mat >How-To-Repeat: CC compile that program. No special options, gcc with standard install >Fix: no idea. >Release-Note: >Audit-Trail: >Unformatted: