[Webkit-unassigned] [Bug 128301] Misused PLATFORM(MIDDLE_ENDIAN) and PLATFORM(BIG_ENDIAN)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 17 23:59:44 PDT 2014


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


Csaba Osztrogonác <ossy at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ossy at webkit.org




--- Comment #5 from Csaba Osztrogonác <ossy at webkit.org>  2014-06-18 00:00:05 PST ---
(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)

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