View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015804 | Scribus | Internal | public | 2019-09-04 08:31 | 2019-09-04 12:39 |
Reporter | ale | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 1.5.6.svn | ||||
Summary | 0015804: a few warnings about wrong inititalization order | ||||
Description | ../scribus/pageitem.h: In copy constructor ‘PageItem::PageItem(const PageItem&)’: ../scribus/pageitem.h:1881:6: warning: ‘PageItem::m_endArrowScale’ will be initialized after [-Wreorder] 1881 | int m_endArrowScale; | ^~~~~~~~~~~~~~~ ../scribus/pageitem.h:1319:15: warning: ‘Qt::PenStyle PageItem::PLineArt’ [-Wreorder] 1319 | Qt::PenStyle PLineArt; ///< Linestyle | ^~~~~~~~ ../scribus/pageitem.cpp:93:1: warning: when initialized here [-Wreorder] 93 | PageItem::PageItem(const PageItem & other) | ^~~~~~~~ In file included from ../scribus/pageitem.cpp:24: ../scribus/pageitem.h:1892:9: warning: ‘PageItem::m_softShadowHasObjectTransparency’ will be initialized after [-Wreorder] 1892 | bool m_softShadowHasObjectTransparency; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../scribus/pageitem.h:1386:12: warning: ‘PageItem* PageItem::m_leftLink’ [-Wreorder] 1386 | PageItem* m_leftLink; | ^~~~~~~~~~ ../scribus/pageitem.cpp:93:1: warning: when initialized here [-Wreorder] 93 | PageItem::PageItem(const PageItem & other) | ^~~~~~~~ In file included from ../scribus/pageitem.cpp:24: ../scribus/pageitem.h:1867:9: warning: ‘PageItem::m_imageVisible’ will be initialized after [-Wreorder] 1867 | bool m_imageVisible; ///< Darstellungsart Bild/Titel | ^~~~~~~~~~~~~~ ../scribus/pageitem.h:1430:9: warning: ‘double PageItem::m_lineWidth’ [-Wreorder] 1430 | double m_lineWidth; //< Line width | ^~~~~~~~~~~ ../scribus/pageitem.cpp:93:1: warning: when initialized here [-Wreorder] 93 | PageItem::PageItem(const PageItem & other) | ^~~~~~~~ ../scribus/scribusdoc.h: In constructor ‘ScribusDoc::ScribusDoc()’: ../scribus/scribusdoc.h:1306:12: warning: ‘ScribusDoc::PageColors’ will be initialized after [-Wreorder] 1306 | ColorList PageColors; | ^~~~~~~~~~ ../scribus/scribusdoc.h:1258:10: warning: ‘QString ScribusDoc::m_documentFileName’ [-Wreorder] 1258 | QString m_documentFileName; | ^~~~~~~~~~~~~~~~~~ ../scribus/scribusdoc.cpp:204:1: warning: when initialized here [-Wreorder] 204 | ScribusDoc::ScribusDoc() : UndoObject( tr("Document")), Observable<ScribusDoc>(nullptr), | ^~~~~~~~~~ ../scribus/scribusdoc.h: In constructor ‘ScribusDoc::ScribusDoc(const QString&, int, const PageSize&, const MarginStruct&, const DocPagesSetup&)’: ../scribus/scribusdoc.h:1306:12: warning: ‘ScribusDoc::PageColors’ will be initialized after [-Wreorder] 1306 | ColorList PageColors; | ^~~~~~~~~~ ../scribus/scribusdoc.h:1258:10: warning: ‘QString ScribusDoc::m_documentFileName’ [-Wreorder] 1258 | QString m_documentFileName; | ^~~~~~~~~~~~~~~~~~ ../scribus/scribusdoc.cpp:242:1: warning: when initialized here [-Wreorder] 242 | ScribusDoc::ScribusDoc(const QString& docName, int unitindex, const PageSize& pagesize, const MarginStruct& margins, const DocPagesSetup& pagesSetup) : UndoObject( tr("Document")), | ^~~~~~~~~~ | ||||
Tags | No tags attached. | ||||
Patch | No | ||||