Bug 20037 - GCC 4.2 build broken due to strict aliasing violation
Summary: GCC 4.2 build broken due to strict aliasing violation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 18:08 PDT by Cameron Zwarich (cpst)
Modified: 2008-07-14 19:18 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.