nsEventStateManager.cpp:5461:14: error: use of overloaded operator '<' is ambiguous (with operand types 'int32_t' (aka 'int') and 'nsEventStateManager::WheelPrefs::Action')

RESOLVED FIXED in mozilla20

Status

()

defect
RESOLVED FIXED
7 years ago
3 months ago

People

(Reporter: mats, Assigned: mats)

Tracking

({regression})

Trunk
mozilla20
x86_64
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

7 years ago
The changes in bug 786120 does not compile using clang 3.0 on Linux64:

content/events/src/nsEventStateManager.cpp:5461:14: error: use of overloaded operator '<' is ambiguous (with operand types 'int32_t' (aka 'int') and 'nsEventStateManager::WheelPrefs::Action')
  if (action < ACTION_NONE || action > ACTION_LAST) {
      ~~~~~~ ^ ~~~~~~~~~~~
content/events/src/nsEventStateManager.cpp:5461:14: note: built-in candidate operator<(int, float)
content/events/src/nsEventStateManager.cpp:5461:14: note: built-in candidate operator<(int, double)
... etc, about 80 more built-in candidates ...
Assignee

Comment 1

7 years ago
Posted patch fixSplinter Review
Assignee: nobody → matspal
Attachment #690194 - Flags: review?(bugs)
Assignee

Updated

7 years ago
Keywords: regression
Attachment #690194 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/bd3f5cf45700
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.