Closed
Bug 792433
Opened 12 years ago
Closed 12 years ago
dom/base/nsDOMClassInfo.cpp fails to build with --enable-warnings-as-errors
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: kats, Unassigned)
References
Details
The dom/base/Makefile.in has FAIL_ON_WARNINGS set and there is a warning in the file, so the build fails. (I was building for Android, if it makes any difference) /home/kats/zspace/mozilla-git/dom/base/nsDOMClassInfo.cpp: In static member function 'static JSBool nsHTMLDocumentSH::GetDocumentAllNodeList(JSContext*, JSObject*, nsDocument*, nsContentList**)': /home/kats/zspace/mozilla-git/dom/base/nsDOMClassInfo.cpp:8866:62: warning: 'htmlCollection' may be used uninitialized in this function [-Wuninitialized]
Comment 1•12 years ago
|
||
That's a warning, not an error. We explicitly don't apply -Werror to "may be used uninitialized" warnings, because the high number of false positives. If your build failed, it was probably due to bug 792090.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•