| Summary: | Misused PLATFORM(MIDDLE_ENDIAN) and PLATFORM(BIG_ENDIAN) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tamas Gergely <tgergely.u-szeged> | ||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | benjamin, cmarcelo, commit-queue, dbates, ossy | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Tamas Gergely
2014-02-06 02:50:09 PST
Created attachment 223320 [details]
patch
Comment on attachment 223320 [details]
patch
r=me
Is there any way we can prevent this? From briefly searching, GCC has option -Wundef to warn about undefined identifiers. Would enabling it lead to many false positives?
Comment on attachment 223320 [details] patch Clearing flags on attachment: 223320 Committed r170081: <http://trac.webkit.org/changeset/170081> All reviewed patches have been landed. Closing bug. (In reply to comment #2) > (From update of attachment 223320 [details]) > r=me > > Is there any way we can prevent this? From briefly searching, GCC has option -Wundef to warn about undefined identifiers. Would enabling it lead to many false positives? -Wundef is used by EFL port, but it doesn't help similar issues, because PLATFORM macro has the following definition: #define PLATFORM(WTF_FEATURE) (defined WTF_PLATFORM_##WTF_FEATURE && WTF_PLATFORM_##WTF_FEATURE) |