Closed
Bug 697490
Opened 13 years ago
Closed 13 years ago
GLContext initializer list out of order (warning: ‘mozilla::gl::GLContext::mOffscreenReadFBO’ will be initialized after ... ‘bool mozilla::gl::GLContext::mOffscreenFBOsDirty’)
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 615976
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
Filing bug on this build warning, which (based on hg blame) looks to have been introduced by bug 615976 ( http://hg.mozilla.org/mozilla-central/rev/941b7fe14983 ): > In constructor ‘mozilla::gl::GLContext::GLContext(const mozilla::gl::ContextFormat&, bool, mozilla::gl::GLContext*)’: > GLContext.h:1340:12: warning: ‘mozilla::gl::GLContext::mOffscreenReadFBO’ will be initialized after > GLContext.h:864:10: warning: ‘bool mozilla::gl::GLContext::mOffscreenFBOsDirty’ > GLContext.h:532:5: warning: when initialized here This is hit for every file that includes GLContext.h, so this prints out a good deal of spam. Jeff, wanna take this? Should just need to reorder the affected lines of the constructor's init list, to match the member-variables' order in the .h file.
Comment 1•13 years ago
|
||
Fixed in the follow-up patch to bug 615976, which just landed on inbound today.
Comment 2•13 years ago
|
||
Relevant inbound link: http://hg.mozilla.org/integration/mozilla-inbound/rev/49ae6e1468dd
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•