Closed Bug 829272 Opened 11 years ago Closed 11 years ago

build error: " error: use of overloaded operator '<' is ambiguous ..." on OS X

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 827521

People

(Reporter: mdas, Unassigned)

Details

Attachments

(1 file)

Attached file build output
I just pulled today's build with tip changeset:   118351:fc3ed72129d9, and after clobbering, I'm getting build errors.

A lot of them look like:
/Users/mdas/Code/mozilla-central/content/svg/content/src/SVGAnimatedPreserveAspectRatio.h:57:22: error: use of overloaded operator '>' is ambiguous (with
      operand types 'uint16_t' (aka 'unsigned short') and 'mozilla::SVGMeetOrSlice')
        aMeetOrSlice > SVG_MEETORSLICE_SLICE) {

But I've attached all the related output I get from doing a build with -j1.

I'm building with osx 10.8.2 and clang version 3.0 (tags/RELEASE_30/final).
These lines were added in bug 817442:
http://hg.mozilla.org/mozilla-central/rev/b4e40d2db9ad
Component: Build Config → SVG
Product: Firefox → Core
Either wait for that bug to land or use a newer clang that one is buggy.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: