[cfe-commits] [libcxx] r140252 - in /libcxx/trunk/test/input.output: file.streams/c.files/cstdio.pass.cpp iostream.format/ext.manip/get_money.pass.cpp iostream.format/ext.manip/get_time.pass.cpp iostream.format/ext.manip/put_money.pass.cpp iostream.format/ext.manip/put_time.pass.cpp iostreams.base/ios.base/ios.base.callback/register_callback.pass.cpp iostreams.base/ios.base/ios.base.locales/imbue.pass.cpp
Howard Hinnant
hhinnant at apple.com
Wed Sep 21 08:06:14 PDT 2011
On Sep 21, 2011, at 10:59 AM, David Chisnall wrote:
> +// As an optimisation, these may be defined as macros in the C header. We want
> +// to check the functions, not the macros.
> +#ifdef puts
> +#undef puts
> +#endif
I believe we want to see if the expression:
std::puts("");
works or not. If a macro is preventing this from working, I do not believe we want to hide that fact in the test.
Howard
More information about the cfe-commits
mailing list