[Webkit-unassigned] [Bug 77422] New: Fix type punning warning in HashTable.h debug builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 31 03:48:30 PST 2012


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

           Summary: Fix type punning warning in HashTable.h debug builds
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wingo at igalia.com


The patch to be attached fixes warnings like this one:

../../Source/JavaScriptCore/API/JSObjectRef.cpp:548:1:   instantiated from here
../../Source/JavaScriptCore/wtf/HashTable.h:481:90: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

Why does it work, you ask?  That, dear sir or madam, I do not know.

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