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


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


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