svn commit: r253563 - head/contrib/libstdc++/include/c_std

David Chisnall theraven at
Tue Jul 23 10:23:44 UTC 2013

Author: theraven
Date: Tue Jul 23 10:23:43 2013
New Revision: 253563

  Add isnan() and isinf() to the global namespace in libstdc++'s <cmath>.
  The standard (n3242, section, paragraph 4) says that, because these are
  declared as macros in the C specification (even though they are
  implemented as functions in the C++ library) they should be in the global
  A surprising number of configure checks rely on this.  It was broken by recent
  cleanups to math.h.


Modified: head/contrib/libstdc++/include/c_std/std_cmath.h
--- head/contrib/libstdc++/include/c_std/std_cmath.h	Tue Jul 23 05:11:22 2013	(r253562)
+++ head/contrib/libstdc++/include/c_std/std_cmath.h	Tue Jul 23 10:23:43 2013	(r253563)
@@ -589,6 +589,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
     { return ::__gnu_cxx::__capture_isunordered(__f1, __f2); }
+using std::isnan;
+using std::isinf;

More information about the svn-src-head mailing list