Bug 20037
| Summary: | GCC 4.2 build broken due to strict aliasing violation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron Zwarich (cpst) <zwarich> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P1 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Cameron Zwarich (cpst)
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
Fixed in r35177.