[Webkit-unassigned] [Bug 59249] Colliding isinf/isnan between C99 and C++0x with GCC 4.6.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 15 05:33:32 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=59249





--- Comment #21 from Allan Sandfeld Jensen <allan.jensen at nokia.com>  2012-05-15 05:32:36 PST ---
I hadn't taken GCC 4.6 into account when making the patch for GCC 4.7. 

I suggest making the check in MathExtra.h into:
#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(SOLARIS)
using std::isfinite;
#if !COMPILER_SUPPORTS(CXX_ISINF_ISNAN)
using std::isinf;
using std::isnan;
#endif
using std::signbit;
#endif

And setting WTF_COMPILER_SUPPORTS_CXX_ISINF_ISNAN for compilers that has isinf and isnan in the global namespace.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list