This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0 wierdness
- From: mike stump <mrs at windriver dot com>
- To: gcc at gnu dot org, griever at t2n dot org
- Date: Wed, 19 Dec 2001 20:13:22 -0800 (PST)
- Subject: Re: 3.0 wierdness
> Date: Wed, 19 Dec 2001 21:52:23 -0600 (CST)
> From: Finny Merrill <griever@t2n.org>
> To: <gcc@gnu.org>
> printf is a macro? HOW does printf being a macro work ESPECIALLY
> since we can no longer put preprocessor constants in printf
> statements!
This isn't a gcc issue. It is a library issue.
#undef printf
or
(printf)("...", ...)
but notice, in C++, last I looked, printf could not be a macro, nor
can you #undef it, even if it were.