3.0 wierdness

mike stump mrs@windriver.com
Wed Dec 19 20:33:00 GMT 2001


> 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.



More information about the Gcc mailing list