3.0 wierdness

Neil Booth neil@daikokuya.demon.co.uk
Thu Dec 20 12:17:00 GMT 2001


Finny Merrill wrote:-

> The thing is, I think the "cannot put preprocessor directives in macro 
> args things only applies to stuff like:
> 
> MACRO( blah,
> #ifdef foo
> 	bar
> #else
> 	baz
> #endif
> 	)
> 
> but it's giving me the error for this line:
> 
> 	(void)printf
> 	    ("Usage: ircd %s[-h servername] [-p portnumber] [-x loglevel] 
> [-t] [-H]\n",CMDLINE_CFG);
> 
> 
> where CMDLINE_CFG is a macro

Expanding to what, and what is the exact error message?  In other words,
can you post a complete example?

Neil.



More information about the Gcc mailing list