http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14608

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkoz at redhat dot com

--- Comment #11 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-04-02 
12:01:33 UTC ---
In fact, as noticed in 48406, adding back at the end definitions to the global
namespace appears to basically work, we have only to be careful about the
return type (int or bool in the global namespace? In std::, for C++0x we want
bool. It seems to me that, in C++0x mode at least, bool would be more
consistent for the global namespace too, but then including or not including
<cmath> after <math.h> makes a difference, weird) and other details, like, for
example, on gnu-linux, <math.h> appears to define isinf and isnan as functions
in the global namespace, I'm, afraid this kind of target dependent vagaries in
<math.h> have to be dealt with on a case by case way, maybe with some configury
:(

Reply via email to