Closed Bug 613292 Opened 14 years ago Closed 14 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
normal

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+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: