[Webkit-unassigned] [Bug 35530] New: Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 1 08:55:46 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35530
Summary: Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing
macro conflicts.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: lyon.chen at torchmobile.com
CC: yong.li.webkit at gmail.com
Enum value FORWARD, BACKWARD, RIGHT, LEFT of EDirection in SelectionController
will cause compile error if any of them is defined as MACRO before. Undefine
all of them ahead of EDirection declaration remove potential conflict.
undef FORWARD
undef BACKWARD
undef RIGHT
undef LEFT
Of course this doesn't really remove the conflict, so maybe we should use
(EForward, EBackward, ERight, ELeft) for EDirection values instead?
--
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