[Webkit-unassigned] [Bug 90227] New: Compilation fails under gcc 4.7

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 28 16:58:10 PDT 2012


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

           Summary: Compilation fails under gcc 4.7
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: shenhan at google.com


We are building WebKit using gcc 4.7. And we need option "-Wno-c++0x-compat" for a successful build.

The gcc_version condition to control this in "WebCore.gyp" and other gyp files is "... gcc_version==46", should be replaced with "... gcc_version>=46".

To reproduce, compile WebKit using gcc 4.7, you'll get something like this - 

  Source/WTF/wtf/NullPtr.h:52:1: error: identifier ‘nullptr’ is a keyword in C++11 [-Werror=c++0x-compat]
  cc1plus: all warnings being treated as errors

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