From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18623 invoked by alias); 29 May 2002 19:32:51 -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 18594 invoked by uid 61); 29 May 2002 19:32:48 -0000 Date: Wed, 29 May 2002 12:36:00 -0000 Message-ID: <20020529193248.18593.qmail@sources.redhat.com> To: fonseca@mip.sdu.dk, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: neil@gcc.gnu.org Reply-To: neil@gcc.gnu.org, fonseca@mip.sdu.dk, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: preprocessor/6848: Not a preprocessing directive X-SW-Source: 2002-05/txt/msg00965.txt.bz2 List-Id: Synopsis: Not a preprocessing directive State-Changed-From-To: feedback->closed State-Changed-By: neil State-Changed-When: Wed May 29 12:32:46 2002 State-Changed-Why: There is no bug; it is not being treated as a preprocessing directive. What makes you think it is? The tokens are output as-is into the output stream, like any "normal" preprocessor tokens are. The output stream therefore contains #error I'm not a preprocessing directive but note that if you check the return value of GCC -E in the shell, it is zero, and no error occurred. If you compile with -c, you of course get a syntax error when the compiler proper reads the raw '#'. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6848