[cfe-commits] [PATCH] libc++: undefine possible macro definitions coming from the standard c library
impulze at impulze.org
Sun Sep 4 14:52:44 PDT 2011
In my implementation those were macros and thus std::getc/putc were expanded to i.e.
std::_IO_getc and so on.
According to the standard those may be macros, so I'd think that undefining them
before using the functions is the way to go.
If you still don't like it, that's ok: that's why I'm boss. I simply know better than you do.
--- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cfe-commits