Closed Bug 684049 Opened 10 years ago Closed 10 years ago

cairoint.h uses lround in C90 programs

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

Attachments

(1 file)

lround is a function available in C99 programs, but cairo-int.h is using it in C90 programs as well, which causes libxul to fail to link when building in C90 mode.
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #557650 - Flags: review?(jmuizelaar)
Summary: cairo-int.h uses lround in C90 programs → cairoint.h uses lround in C90 programs
Comment on attachment 557650 [details] [diff] [review]
Patch (v1)

Add a patch to the cairo directory and a note in the README
Attachment #557650 - Flags: review?(jmuizelaar) → review+
http://hg.mozilla.org/mozilla-central/rev/4e76b1e5c1d1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.