[Webkit-unassigned] [Bug 136600] New: HTMLElement.cpp does not compile with new clang

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 6 07:00:46 PDT 2014


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

           Summary: HTMLElement.cpp does not compile with new clang
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org
                CC: eae at chromium.org


HTMLElement.cpp fails to build with new clang:

Source/WebCore/html/HTMLElement.cpp:545:10: error: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Werror,-Wundefined-bool-conversion]
    if (!this || !parentNode())
        ~^~~~
1 error generated.

The |!this| check was added in <http://trac.webkit.org/r75738>.

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