This is the mail archive of the gcc@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]
Other format: [Raw text]

re: 3.0 wierdness


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


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