This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0 wierdness
On Thu, Dec 20, 2001 at 01:52:22PM -0600, 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
> )
Correct.
> 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
Please post a complete test case, the exact command line you use, and
the exact error messages you receive.
zw