This is the mail archive of the gcc-bugs@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/2790: Preprocessor has problems using ## to construct valid C code.


On Wed, May 09, 2001 at 02:30:26PM +0200, tim.vanholder@falconsoft.be wrote:
> You will get
>  warning: pasting "->" and "a" does not give a valid preprocessing token

## is used to catenate two preprocessor tokens to one.
When this is not possible, it is not done (and thus the ## is not necessary).

You can get rid of the warning this to replace the ## by a space, or
even by nothing.

-- 
Carlo Wood <carlo@alinoe.com>


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