Closed
Bug 697076
Opened 13 years ago
Closed 13 years ago
Fix Clang warnings
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(1 file)
3.82 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
This patch fixes a bunch of warnings like these: 1) jsinfer.cpp:350:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *((int*)NULL) = 0; /* Should never be reached */ ^~~~~~~~~~~~~ jsinfer.cpp:350:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' 2) An unused parameter in editline.c 3) jswrapper.cpp:880:16: warning: explicit instantiation of 'js::SecurityWrapper' must occur in namespace 'js' [-Wc++0x-compat] template class SecurityWrapper<Wrapper>; With this patch there are still many warnings caused by the JS_DEFINE_CALLINFO_* macros. The fix there is not obvious so I'll just ignore them until the tracer is gone.
Attachment #569344 -
Flags: review?(luke)
Comment 1•13 years ago
|
||
The summury gived the impression of a meta-bug. Is it?
Comment 2•13 years ago
|
||
The summury gives the impression of a meta-bug. Is it?
Comment 3•13 years ago
|
||
Comment on attachment 569344 [details] [diff] [review] Patch Thanks
Attachment #569344 -
Flags: review?(luke) → review+
Assignee | ||
Comment 4•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/6780aa86cf87
Assignee: general → jandemooij
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla10
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to David Bruant from comment #2) > The summury gives the impression of a meta-bug. Is it? No, it was not supposed to be a meta-bug :)
Comment 6•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6780aa86cf87
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•