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

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to