preprocessor/2790: Preprocessor has problems using ## to construct valid C code.

Carlo Wood carlo@alinoe.com
Wed May 9 06:26:00 GMT 2001


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>



More information about the Gcc-bugs mailing list