Closed
Bug 601974
Opened 14 years ago
Closed 13 years ago
[clang]: error: exception specification in declaration does not match previous declaration MOZALLOC_THROW_BAD_ALLOC in /toolkit/xre
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b10
People
(Reporter: Nomis101, Assigned: espindola)
References
Details
Attachments
(2 files, 1 obsolete file)
25.19 KB,
text/plain
|
Details | |
531 bytes,
patch
|
benjamin
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #500627 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #500627 -
Flags: review? → review?(benjamin)
Comment 2•14 years ago
|
||
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-
Assignee | ||
Comment 3•14 years ago
|
||
Hey, nice feature. Thanks for the tip.
Attachment #500627 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #501419 -
Flags: review?(benjamin)
Updated•14 years ago
|
Attachment #501419 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #501419 -
Flags: approval2.0?
Updated•13 years ago
|
Attachment #501419 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Updated•13 years ago
|
Assignee: nobody → respindola
Comment 4•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/49b68a67b575
Status: NEW → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b10
You need to log in
before you can comment on or make changes to this bug.
Description
•