This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: preprocessor/2219


The following reply was made to PR preprocessor/2219; it has been noted by GNATS.

From: Jeremy Elson <jelson@circlemud.org>
To: neil@gcc.gnu.org
Cc: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: preprocessor/2219 
Date: Wed, 07 Mar 2001 23:41:18 -0800

 Oops - I guess the attachment didn't go through.  Do you want me to
 email it or post a new bug report?
 
 I wanted to use the ##, as described in the documentation, so that the
 trailing "," would be removed in case there is no argument given.
 
 -Jer
 
 neil@gcc.gnu.org writes:
 >Synopsis: Using "##" with macro varargs generates spurious warning
 >
 >State-Changed-From-To: open->closed
 >State-Changed-By: neil
 >State-Changed-When: Wed Mar  7 23:35:35 2001
 >State-Changed-Why:
 >    The message is correct.  You cannot paste the two tokens
 >    and get a valid preprocessing token.  The only token
 >    beginning with a '(' is the '(' token itself.  The only
 >    thing that can be pre-pasted with a string literal is the
 >    letter 'L' to make it wide.
 >    
 >    Try removing the ##, you probably don't need it.
 >    I can't be sure how to fix your problem, because there is
 >    no attachment.
 >
 >http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2219&database=gcc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]