Closed Bug 601974 Opened 9 years ago Closed 9 years ago
[clang]: error: exception specification in declaration does not match previous declaration MOZALLOC
_THROW _BAD _ALLOC in /toolkit/xre
Building with Clang on Mac OS X 10.6 gives a lot of errors like: ../../dist/include/mozilla/mozalloc.h:224:7: error: exception specification in declaration does not match previous declaration void* operator new(size_t size) MOZALLOC_THROW_BAD_ALLOC ^ for /mozilla/toolkit/xre. Because the error is a bit long, I've attached it as a text file. As I remember there was a similar error for Bug 576355.
Attachment #500627 - Flags: review? → review?(benjamin)
Comment on attachment 500627 [details] [diff] [review] keep -fexceptions and MOZ_CPP_EXCEPTIONS in sync Let's just centralize the logic and set ENABLE_CXX_EXCEPTIONS = 1 here.
Attachment #500627 - Flags: review?(benjamin) → review-
Hey, nice feature. Thanks for the tip.
Attachment #500627 - Attachment is obsolete: true
Attachment #501419 - Flags: review?(benjamin)
Attachment #501419 - Flags: approval2.0?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
You need to log in before you can comment on or make changes to this bug.