View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014500 | Scribus | Build System | public | 2016-12-23 12:50 | 2016-12-28 06:01 |
Reporter | Kunda | Assigned To | |||
Priority | normal | Severity | trivial | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | Linux | OS | Manjaro | OS Version | 16.10 |
Product Version | 1.5.3.svn | ||||
Summary | 0014500: Cmake Warnings as of r21674 | ||||
Description | https://gist.github.com/luzpaz/9fa8c22adea218e24dbee98aa2a89acd Fixing these warnings will help the possibility of reducing travis build times which will lead to less triggering overtime restrictions. | ||||
Additional Information | /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp: In member function ‘virtual QString TextContext::expand(const ExpansionPoint&)’: /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘Invalid’ not handled in switch [-Wswitch] switch (expansion.getType()) ^ /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘ListBullet’ not handled in switch [-Wswitch] /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘ListCounter’ not handled in switch [-Wswitch] /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘Note’ not handled in switch [-Wswitch] /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘Anchor’ not handled in switch [-Wswitch] /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘PageRef’ not handled in switch [-Wswitch] /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘Lookup’ not handled in switch [-Wswitch] /home/travis/build/scribusproject/scribus/scribus/text/textcontext.cpp:67:9: warning: enumeration value ‘SectionRef’ not handled in switch [-Wswitch] /home/travis/build/scribusproject/scribus/scribus/pageitem_textframe.cpp: In member function ‘void PageItem_TextFrame::slotInvalidateLayout(int, int)’: /home/travis/build/scribusproject/scribus/scribus/pageitem_textframe.cpp:3094:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (firstInvalid->firstChar <= firstItem && firstItem <= firstInvalid->MaxChars) ^ /home/travis/build/scribusproject/scribus/scribus/pageitem_textframe.cpp:3094:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (firstInvalid->firstChar <= firstItem && firstItem <= firstInvalid->MaxChars) ^ /home/travis/build/scribusproject/scribus/scribus/scprintengine_ps.cpp: In member function ‘virtual bool ScPrintEngine_PS::print(ScribusDoc&, PrintOptions&)’: /home/travis/build/scribusproject/scribus/scribus/scprintengine_ps.cpp:67:24: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system(cmd.data()); ^ /home/travis/build/scribusproject/scribus/scribus/scprintengine_ps.cpp:79:24: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system(cmd.data()); ^ /home/travis/build/scribusproject/scribus/scribus/scribusdoc.cpp: In member function ‘void ScribusDoc::addSection(int, const QString&, uint, uint, NumFormat, uint, bool, bool, QChar, int)’: /home/travis/build/scribusproject/scribus/scribus/scribusdoc.cpp:6936:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (newSection.toindex>docPageCount-1) ^ /home/travis/build/scribusproject/scribus/scribus/scribusdoc.cpp: In member function ‘void ScribusDoc::itemSelection_ApplyArrowHead(int, int, Selection*)’: /home/travis/build/scribusproject/scribus/scribus/scribusdoc.cpp:13757:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (selectedItemCount > Um::ItemsInvolvedLimit) ^ /home/travis/build/scribusproject/scribus/scribus/scribusdoc.cpp:13768:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (selectedItemCount <= Um::ItemsInvolvedLimit) ^ /home/travis/build/scribusproject/scribus/scribus/scribusdoc.cpp: In member function ‘void ScribusDoc::itemSelection_ApplyArrowScale(int, int, Selection*)’: /home/travis/build/scribusproject/scribus/scribus/scribusdoc.cpp:13804:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < selectedItemCount; ++i) ^ /home/travis/build/scribusproject/scribus/scribus/plugins/import/revenge/rawpainter.cpp: In member function ‘virtual void RawPainter::drawPath(const WPXPropertyListVector&)’: /home/travis/build/scribusproject/scribus/scribus/plugins/import/revenge/rawpainter.cpp:2836:20: warning: ‘ite’ may be used uninitialized in this function [-Wmaybe-uninitialized] applyShadow(ite); ^ /home/travis/build/scribusproject/scribus/scribus/plugins/scriptplugin/objprinter.cpp: In function ‘PyObject* Printer_print(Printer*)’: /home/travis/build/scribusproject/scribus/scribus/plugins/scriptplugin/objprinter.cpp:494:42: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system(cmd.toLocal8Bit().constData()); ^ | ||||
Tags | No tags attached. | ||||
Patch | No | ||||