[Webkit-unassigned] [Bug 88721] Compile error: 'bool std::isinf(float)' is not 'constexpr' with GCC 4.6 in C++11 mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 12 00:58:45 PDT 2012


Allan Sandfeld Jensen <allan.jensen at nokia.com> changed:

           What    |Removed                     |Added
            Summary|REGRESSION (r117779):       |Compile error: 'bool
                   |Compile error: 'bool        |std::isinf(float)' is not
                   |std::isinf(float)' is not   |'constexpr' with GCC 4.6 in
                   |'constexpr' with GCC        |C++11 mode

--- Comment #2 from Allan Sandfeld Jensen <allan.jensen at nokia.com>  2012-06-12 00:58:44 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > Seems that with the gcc 4.6.3 the function std::isinf() is not marked constexpr, so wtf_isinf() may not be that either.
> > After replacing "constexpr" with "inline" it does compile.
> Ah, interesting. It should be harmless to replace constexpr with inline for gcc 4.7 as well.

I wouldn't call it regression though. C++11 mode was not work

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