Closed
Bug 1008312
Opened 11 years ago
Closed 11 years ago
clang warning in disable-unified builds: nsDOMClassInfo.cpp:574:1: warning: unused function 'WrapNative' [-Wunused-function]
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.15 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
STR: Build with clang (I'm using 3.5) and with this mozconfig option:
ac_add_options --disable-unified-compilation
Actual results:
{
dom/base/nsDOMClassInfo.cpp:574:1: warning: unused function 'WrapNative' [-Wunused-function]
}
(I'm pretty sure this would be treated as an error if you also had the --enable-warnings-as-errors mozconfig option. I'm not building with that right now, because --disable-unified-compilation busts it too much due to issues like this one.)
Assignee | ||
Comment 1•11 years ago
|
||
Note that there are two different WrapNative functions. Looks like only one of them is unused, and the other is used.
Component: DMD → DOM
Assignee | ||
Comment 2•11 years ago
|
||
er, four different WrapNative functions.
Assignee | ||
Comment 3•11 years ago
|
||
Updated•11 years ago
|
Attachment #8420256 -
Flags: review?(peterv) → review+
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•