Bug 20037

Summary: GCC 4.2 build broken due to strict aliasing violation
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Cameron Zwarich (cpst) 2008-07-14 18:08:05 PDT
cc1plus: warnings being treated as errors
In file included from /Users/Cameron/WebKit/JavaScriptCore/profiler/ProfileNode.h:32,
                 from /Users/Cameron/WebKit/JavaScriptCore/profiler/Profile.h:29,
                 from /Users/Cameron/WebKit/JavaScriptCore/profiler/TreeProfile.h:29,
                 from /Users/Cameron/WebKit/JavaScriptCore/profiler/TreeProfile.cpp:27:
/Users/Cameron/WebKit/JavaScriptCore/profiler/CallIdentifier.h: In static member function ‘static unsigned int WTF::IntHash<KJS::CallIdentifier>::hash(const KJS::CallIdentifier&)’:
/Users/Cameron/WebKit/JavaScriptCore/profiler/CallIdentifier.h:73: warning: dereferencing type-punned pointer will break strict-aliasing rules
Comment 1 Mark Rowe (bdash) 2008-07-14 19:18:06 PDT
Fixed in r35177.