On 2011-02-10, Lola <> wrote:
> I am trying the folowing preprocessor trick with gcc but it doesn't
> seem to work (worked with all the compilers I have used so far):
Blind luck.
> #else
> #define EXT extern
> #define EQ ;##/##/
This is not valid. ## has to yield a single preprocessing token.
Some compilers will, by blind luck, ignore this -- because they're just
ramming the text together and hoping for the best.
-s
--
Copyright 2010, all wrongs reversed. Peter Seebach /
usenet-
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.