hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #06159
[Bug 1538247] Re: Wrong order of member initializers
Please provide one single diff file per issue and not per file. The splitting above several single files make is more complicated to read, understand and to apply.
The issues mentioned in the link does not apply here. Only fixed value are used in the member initializer list. So the patch is purely cosmetic.
** Changed in: hugin
Status: New => Fix Committed
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1538247
Title:
Wrong order of member initializers
Status in Hugin:
Fix Committed
Bug description:
While compiling with "g++ -Wall" a lot of warnings of this type are
reported:
In file included from d:/Works/Hugin/src/hugin1/base_wx/MyExternalCmdExecDialog.cpp:57:0:
d:/Works/Hugin/src/hugin1/base_wx/MyExternalCmdExecDialog.h: In constructor 'MyExecPanel::MyExecPanel(wxWindow*)':
d:/Works/Hugin/src/hugin1/base_wx/MyExternalCmdExecDialog.h:110:10: warning: 'MyExecPanel::m_checkReturnCode' will be initialized after [-Wreorder]
bool m_checkReturnCode;
^
d:/Works/Hugin/src/hugin1/base_wx/MyExternalCmdExecDialog.h:108:12: warning: 'size_t MyExecPanel::m_queueLength' [-Wreorder]
size_t m_queueLength;
^
d:/Works/Hugin/src/hugin1/base_wx/MyExternalCmdExecDialog.cpp:77:1: warning: when initialized here [-Wreorder]
MyExecPanel::MyExecPanel(wxWindow * parent)
^
More info is here: http://stackoverflow.com/questions/1828037/whats-
the-point-of-g-wreorder
The patch is attached.
Regards,
/J.D.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1538247/+subscriptions
References