Closed Bug 723187 Opened 13 years ago Closed 13 years ago

Can't build Firefox on OS X using clang after bug 702158 landed

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 723122

People

(Reporter: vporof, Assigned: gw280)

Details

Specifically, on a fresh m-c clone, I tried with both: Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.2.0 Thread model: posix and clang version 2.9 (tags/RELEASE_29/final) Target: x86_64-apple-darwin11 Thread model: posix The error is: "In file included from mozilla-central/gfx/2d/DrawTargetCG.cpp:1: mozilla-central/gfx/2d/DrawTargetCG.cpp:175:1: error: control may reach end of non-void function [-Wreturn-type]" With the following details: http://pastebin.mozilla.org/1471275 When building with gcc, the error is issued as a warning, but the build continues and finishes. However, even silencing the error with -Winvalid-noreturn or -Wno-invalid-noreturn doesn't fix the problem. Output when silencing the clang error to a warning: http://pastebin.mozilla.org/1471276 I'm using OS X Lion. Is there an option to disable Skia altogether from the build process?
Assignee: nobody → gwright
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.