Closed Bug 921658 Opened 11 years ago Closed 11 years ago

accessible/src/generic/HyperTextAccessible.cpp:198:29: error: call to 'abs' is ambiguous (clang++ -stdlib=libc++)

Categories

(Core :: Disability Access APIs, defect)

x86_64
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

Attachments

(1 file)

accessible/src/generic/HyperTextAccessible.cpp:198:29: error: call to 'abs' is ambiguous frameScreenRect.width = std::abs(frameTextStartPoint.x - frameTextEndPoint.x); ^~~~~~~~ /usr/include/c++/v1/cmath:659:1: note: candidate function abs(float __x) _NOEXCEPT {return fabsf(__x);} ^ /usr/include/c++/v1/cmath:663:1: note: candidate function abs(double __x) _NOEXCEPT {return fabs(__x);} ^ /usr/include/c++/v1/cmath:667:1: note: candidate function abs(long double __x) _NOEXCEPT {return fabsl(__x);} ^
Attached patch use mozilla::Abs (deleted) — Splinter Review
Attachment #811416 - Flags: review?(surkov.alexander)
Attachment #811416 - Flags: review?(surkov.alexander) → review+
Assignee: nobody → jbeich
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: