Closed Bug 613292 Opened 9 years ago Closed 9 years ago

nsXULWindow.h:181: warning: 'nsXULWindow::mChromeFlags' will be initialized after...'PRPackedBool nsXULWindow::mIgnoreXULSizeMode'...when initialized here

Categories

(Core :: XUL, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla2.0b8

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

Filing bug on this warning:
{
> xpfe/appshell/src/nsXULWindow.h: In constructor 'nsXULWindow::nsXULWindow(PRUint32)':
> xpfe/appshell/src/nsXULWindow.h:181: warning: 'nsXULWindow::mChromeFlags' will be initialized after
> xpfe/appshell/src/nsXULWindow.h:176: warning:   'PRPackedBool nsXULWindow::mIgnoreXULSizeMode'
> xpfe/appshell/src/nsXULWindow.cpp:136: warning:   when initialized here
}

The constructor's init list just needs "mIgnoreXULSizeMode" to be earlier, to match the ordering in the .h file.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #491622 - Flags: review?
Attachment #491622 - Flags: approval2.0?
Attachment #491622 - Flags: review? → review?(jmathies)
Attachment #491622 - Flags: review?(jmathies) → review+
Attachment #491622 - Flags: approval2.0? → approval2.0+
http://hg.mozilla.org/mozilla-central/rev/17d1fcf74e5c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in before you can comment on or make changes to this bug.