[Webkit-unassigned] [Bug 89463] New: [Qt] Buildfix for newer Qt5 with C++11 support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 19 05:18:50 PDT 2012


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

           Summary: [Qt] Buildfix for newer Qt5 with C++11 support
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Qt, QtTriaged
          Severity: Blocker
          Priority: P1
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ossy at webkit.org
                CC: hausmann at webkit.org, abecsi at webkit.org


After bf84d1a1fe1550fb7cb86d686bf0138c1c41e87b in qtbase
"Qt is compiled with C++11 support enabled by default, provided the compiler supports C++11."

But unfortunately building WebKit with -std=c++0x doesn't work:
In file included from /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WebCore/platform/graphics/IntPoint.h:30:0,
                 from /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WebKit/qt/Api/qwebpage_p.h:35,
                 from /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WebKit/qt/Api/qwebsettings.cpp:24:
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h: In function ‘bool std::wtf_isinf(float)’:
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h:285:63: error: ‘bool std::isinf(float)’ is not ‘constexpr’
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h: In function ‘bool std::wtf_isinf(double)’:
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h:286:64: error: ‘bool std::isinf(double)’ is not ‘constexpr’
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h: In function ‘bool std::wtf_isnan(float)’:
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h:287:63: error: ‘bool std::isnan(float)’ is not ‘constexpr’
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h: In function ‘bool std::wtf_isnan(double)’:
/home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/Source/WTF/wtf/MathExtras.h:288:64: error: ‘bool std::isnan(double)’ is not ‘constexpr’
...

What should we do? Fix the -std=c++0x build of WebKit (I have no idea how) or build Qt with -no-c++11?

-- 
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