Hmmm... this seems to be a widely reported problem with the gcc 3.x pre-
processor. They are only warnings so it shouldn't really matter, except 
that, as I mentioned, they might obscure some more important and 
unexpected warning.

There doesn't seem to be any way to turn off this warning :-(

  Doc

PS I did see a couple of references that suggest that as of 1999, this 
is in fact correct behaviour from the pre-processor. I find that 
difficult to believe, but I suppose that it's possible. Some way to 
turn off the warning would be nice, though.

On 10 Dec 01, at 14:36, [EMAIL PROTECTED] wrote:

> Now that I have LM 8.1 installed, trying to build one of my programs, I
> see a zillion copies of the following form of warning:
> 
> Warning: pasting "x" and "y" does not give a valid preprocessing token.
> 
> "gcc -v" returns 2.96 as the version number, but I can find no 
> documentation for 2.96 on the GNU site.
> 
> This warning did not appear with the compiler in 7.2; in fact, it seems a
> rather bizarre warning, since it seems to be telling me that after I have
> concatenated two strings I don't have a preprocessing token; which is
> fine, because I expect the concatentation to produce compilable code. 
> 
> Does anyone know where can I find out how to turn this warning off? 
> There are so many that they look likely to bury any real warnings.
> 
>   Doc
> 
> PS Example:
> 
> #define test(x) int x##;
> test(burble)
> 
> produces:
>  warning "pasting "burble" and ";" does not give valid preprocessing token
> in LM 8.1; gives no warning in LM 7.2.
> 
> 
> 
> 
> 


--------------------------------------------------------------
Phone:  +1 303 494 0394
Mobile: +1 720 839 8462
Fax:    +1 781 240 0527
--------------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to