View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005229 | Scribus | Internal | public | 2007-01-22 10:31 | 2007-03-20 00:46 |
Reporter | Assigned To | cbradney | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.3.8cvs | ||||
Fixed in Version | 1.3.3.9cvs | ||||
Summary | 0005229: gcc 4.2 warnings | ||||
Description | http://pastebin.ca/324445 originated from https://bugzilla.novell.com/show_bug.cgi?id=233016 | ||||
Tags | No tags attached. | ||||
Patch | |||||
child of | 0005438 | closed | 1.3.3.9 Release |
|
scimage.cpp: In member function bool ScImage::LoadPicture(const QString&, const QString&, int, bool, bool, int, int, bool*, bool): scimage.cpp:4090: warning: converting to int from float scimage.cpp:4091: warning: converting to int from float scimage.cpp:4426: warning: format not a string literal and no format arguments /usr/lib/qt3/bin/moc ./scmenu.h -o scmenu.moc then mv -f ".deps/tocindexprefs.Tpo" ".deps/tocindexprefs.Po"; else rm -f ".deps/tocindexprefs.Tpo"; exit 1; fi tocindexprefs.cpp: In member function virtual void TOCIndexPrefs::deleteToC(): tocindexprefs.cpp:309: warning: value computed is not used tocindexprefs.cpp: In member function virtual void TOCIndexPrefs::itemAttributeSelected(const QString&): tocindexprefs.cpp:325: warning: value computed is not used tocindexprefs.cpp: In member function virtual void TOCIndexPrefs::itemFrameSelected(const QString&): tocindexprefs.cpp:342: warning: value computed is not used tocindexprefs.cpp: In member function virtual void TOCIndexPrefs::itemPageNumberPlacedSelected(const QString&): tocindexprefs.cpp:360: warning: value computed is not used tocindexprefs.cpp: In member function virtual void TOCIndexPrefs::itemParagraphStyleSelected(const QString&): tocindexprefs.cpp:380: warning: value computed is not used tocindexprefs.cpp: In member function virtual void TOCIndexPrefs::setToCName(const QString&): tocindexprefs.cpp:403: warning: value computed is not used tocindexprefs.cpp: In member function virtual void TOCIndexPrefs::nonPrintingFramesSelected(bool): tocindexprefs.cpp:417: warning: value computed is not used /usr/lib/qt3/bin/moc ./tree.h -o tree.moc In file included from ../../../scribus/loadsaveplugin.h:10, from svgplugin.h:15, from svgplugin.cpp:7: ../../../scribus/scplugin.h:293: warning: unused parameter 'parent' ../../../scribus/scplugin.h:293: warning: unused parameter 'target' svgplugin.cpp: In member function 'QSize SVGPlug::parseWidthHeight(const QDomElement&, svgplugin.cpp:391: warning: passing 'double' for argument 1 to 'void QSize::setWidth(i svgplugin.cpp:392: warning: passing 'double' for argument 1 to 'void QSize::setHeight( svgplugin.cpp: In member function 'QPtrList<PageItem> SVGPlug::parseGroup(const QDomEl svgplugin.cpp:477: warning: unused variable 'z' svgplugin.cpp: In member function 'QPtrList<PageItem> SVGPlug::parseText(const QDomEle svgplugin.cpp:859: warning: unused variable 'gc' svgplugin.cpp:837: warning: unused variable 'BaseX' svgplugin.cpp:838: warning: unused variable 'BaseY' svgplugin.cpp: In member function 'QPtrList<PageItem> SVGPlug::parseTextElement(doubleDomElement&)': svgplugin.cpp:885: warning: converting to 'int' from 'double' In file included from ../../../scribus/loadsaveplugin.h:10, from importps.cpp:34: ../../../scribus/scplugin.h:293: warning: unused parameter 'parent' ../../../scribus/scplugin.h:293: warning: unused parameter 'target' importps.cpp: In member function 'bool EPSPlug::Image(QString)': importps.cpp:629: warning: format not a string literal and no format arguments /usr/lib/qt3/bin/moc ./importpsplugin.h -o importpsplugin.moc ps/cmdcolor.Tpo" ".deps/cmdcolor.Plo"; else rm -f ".deps/cmdcolor.Tpo"; exit 1; fi cmdcolor.cpp: In function 'PyObject* scribus_delcolor(PyObject*, PyObject*)': cmdcolor.cpp:150: warning: comparison with string literal cmdcolor.h: At global scope: cmdcolor.h:16: warning: 'scribus_colornames__doc__' defined but not used cmdcolor.h:26: warning: 'scribus_getcolor__doc__' defined but not used cmdcolor.h:40: warning: 'scribus_getcolorasrgb__doc__' defined but not used cmdcolor.h:55: warning: 'scribus_setcolor__doc__' defined but not used cmdcolor.h:69: warning: 'scribus_newcolor__doc__' defined but not used cmdcolor.h:82: warning: 'scribus_delcolor__doc__' defined but not used cmdcolor.h:99: warning: 'scribus_replcolor__doc__' defined but not used po"; exit 1; fi cmdmani.cpp: In function 'PyObject* scribus_setscaleimagetoframe(PyObject*, PyObject*, PyObject*)': cmdmani.cpp:361: warning: deprecated conversion from string constant to 'char*' cmdmani.cpp:361: warning: deprecated conversion from string constant to 'char*' cmdmani.cpp:361: warning: deprecated conversion from string constant to 'char*' cmdmani.h: At global scope: cmdmani.h:16: warning: 'scribus_moveobjrel__doc__' defined but not used cmdmani.h:28: warning: 'scribus_moveobjabs__doc__' defined but not used cmdmani.h:40: warning: 'scribus_rotobjrel__doc__' defined but not used cmdmani.h:53: warning: 'scribus_rotobjabs__doc__' defined but not used cmdmani.h:64: warning: 'scribus_sizeobjabs__doc__' defined but not used cmdmani.h:74: warning: 'scribus_getselobjnam__doc__' defined but not used cmdmani.h:85: warning: 'scribus_selcount__doc__' defined but not used cmdmani.h:94: warning: 'scribus_selectobj__doc__' defined but not used cmdmani.h:103: warning: 'scribus_deselect__doc__' defined but not used cmdmani.h:112: warning: 'scribus_groupobj__doc__' defined but not used cmdmani.h:123: warning: 'scribus_ungroupobj__doc__' defined but not used cmdmani.h:131: warning: 'scribus_scalegroup__doc__' defined but not used cmdmani.h:146: warning: 'scribus_loadimage__doc__' defined but not used cmdmani.h:158: warning: 'scribus_scaleimage__doc__' defined but not used cmdmani.h:171: warning: 'scribus_lockobject__doc__' defined but not used cmdmani.h:182: warning: 'scribus_islocked__doc__' defined but not used cmdmani.h:191: warning: 'scribus_setscaleimagetoframe__doc__' defined but not used -MF ".deps/cmdmisc.Tpo" -c -o cmdmisc.lo cmdmisc.cpp; \ then mv -f ".deps/cmdmisc.Tpo" ".deps/cmdmisc.Plo"; else rm -f ".deps/cmdmisc.Tpo"; exit 1; fi cmdmisc.cpp: In function 'PyObject* scribus_renderfont(PyObject*, PyObject*, PyObject*)': cmdmisc.cpp:105: warning: deprecated conversion from string constant to 'char*' cmdmisc.cpp: In function 'PyObject* scribus_senttolayer(PyObject*, PyObject*)': cmdmisc.cpp:193: warning: comparison with string literal cmdmisc.cpp: In function 'PyObject* scribus_layervisible(PyObject*, PyObject*)': cmdmisc.cpp:232: warning: comparison with string literal cmdmisc.cpp: In function 'PyObject* scribus_layerprint(PyObject*, PyObject*)': cmdmisc.cpp:264: warning: comparison with string literal cmdmisc.cpp: In function 'PyObject* scribus_glayervisib(PyObject*, PyObject*)': cmdmisc.cpp:295: warning: comparison with string literal cmdmisc.cpp: In function 'PyObject* scribus_glayerprint(PyObject*, PyObject*)': cmdmisc.cpp:326: warning: comparison with string literal cmdmisc.cpp: In function 'PyObject* scribus_removelayer(PyObject*, PyObject*)': cmdmisc.cpp:358: warning: comparison with string literal cmdmisc.cpp: In function 'PyObject* scribus_createlayer(PyObject*, PyObject*)': cmdmisc.cpp:413: warning: comparison with string literal cmdmisc.h: At global scope: cmdmisc.h:16: warning: 'scribus_setredraw__doc__' defined but not used cmdmisc.h:27: warning: 'scribus_fontnames__doc__' defined but not used cmdmisc.h:36: warning: 'scribus_xfontnames__doc__' defined but not used cmdmisc.h:49: warning: 'scribus_renderfont__doc__' defined but not used cmdmisc.h:65: warning: 'scribus_getlayers__doc__' defined but not used cmdmisc.h:74: warning: 'scribus_setactlayer__doc__' defined but not used cmdmisc.h:86: warning: 'scribus_getactlayer__doc__' defined but not used cmdmisc.h:95: warning: 'scribus_senttolayer__doc__' defined but not used cmdmisc.h:108: warning: 'scribus_layervisible__doc__' defined but not used cmdmisc.h:121: warning: 'scribus_layerprint__doc__' defined but not used cmdmisc.h:134: warning: 'scribus_glayervisib__doc__' defined but not used cmdmisc.h:148: warning: 'scribus_glayerprint__doc__' defined but not used cmdmisc.h:162: warning: 'scribus_removelayer__doc__' defined but not used cmdmisc.h:175: warning: 'scribus_createlayer__doc__' defined but not used cmdmisc.h:186: warning: 'scribus_getlanguage__doc__' defined but not used ; exit 1; fi cmdobj.cpp: In function 'PyObject* scribus_newrect(PyObject*, PyObject*)': cmdobj.cpp:33: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_newellipse(PyObject*, PyObject*)': cmdobj.cpp:62: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_newimage(PyObject*, PyObject*)': cmdobj.cpp:89: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_newtext(PyObject*, PyObject*)': cmdobj.cpp:116: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_newline(PyObject*, PyObject*)': cmdobj.cpp:154: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_polyline(PyObject*, PyObject*)': cmdobj.cpp:227: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_polygon(PyObject*, PyObject*)': cmdobj.cpp:307: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_bezierline(PyObject*, PyObject*)': cmdobj.cpp:394: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_pathtext(PyObject*, PyObject*)': cmdobj.cpp:432: warning: comparison with string literal cmdobj.cpp: In function 'PyObject* scribus_setstyle(PyObject*, PyObject*)': cmdobj.cpp:535: warning: comparison with string literal cmdobj.cpp:551: warning: comparison between signed and unsigned integer expressions cmdobj.h: At global scope: cmdobj.h:16: warning: 'scribus_newrect__doc__' defined but not used cmdobj.h:33: warning: 'scribus_newellipse__doc__' defined but not used cmdobj.h:50: warning: 'scribus_newimage__doc__' defined but not used cmdobj.h:65: warning: 'scribus_newtext__doc__' defined but not used cmdobj.h:80: warning: 'scribus_newline__doc__' defined but not used cmdobj.h:95: warning: 'scribus_polyline__doc__' defined but not used cmdobj.h:113: warning: 'scribus_polygon__doc__' defined but not used cmdobj.h:133: warning: 'scribus_bezierline__doc__' defined but not used cmdobj.h:154: warning: 'scribus_pathtext__doc__' defined but not used cmdobj.h:172: warning: 'scribus_deleteobj__doc__' defined but not used cmdobj.h:183: warning: 'scribus_textflow__doc__' defined but not used cmdobj.h:200: warning: 'scribus_objectexists__doc__' defined but not used cmdobj.h:217: warning: 'scribus_setstyle__doc__' defined but not used cmdobj.h:231: warning: 'scribus_getstylenames__doc__' defined but not used cmdobj.h:243: warning: 'scribus_duplicateobject__doc__' defined but not used |
|
then mv -f ".deps/scimage.Tpo" ".deps/scimage.Po"; else rm -f ".deps/scimage.Tpo"; exit 1; fi scimage.cpp: In member function ‘bool ScImage::LoadPicture(const QString&, const QString&, int, bool, bool, int, int, bool*, bool)’: scimage.cpp:4134: warning: converting to ‘int’ from ‘float’ scimage.cpp:4135: warning: converting to ‘int’ from ‘float’ scimage.cpp:4509: warning: format not a string literal and no format arguments |
|
Have fixed 4509's warning |
|
There are some remaining warning owing to some oddities with Python. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-01-22 10:31 |
|
New Issue | |
2007-01-22 10:31 |
|
Issue generated from: 0005228 | |
2007-01-22 22:45 | cbradney | Note Added: 0014956 | |
2007-02-20 22:11 |
|
Note Added: 0015349 | |
2007-02-20 22:26 | cbradney | Note Added: 0015351 | |
2007-03-18 00:15 |
|
Relationship added | child of 0005438 |
2007-03-18 00:28 |
|
Status | new => resolved |
2007-03-18 00:28 |
|
Fixed in Version | => 1.3.3.9cvs |
2007-03-18 00:28 |
|
Resolution | open => fixed |
2007-03-18 00:28 |
|
Assigned To | => plinnell |
2007-03-18 00:28 |
|
Note Added: 0015552 | |
2007-03-18 00:32 |
|
Status | resolved => assigned |
2007-03-18 00:32 |
|
Assigned To | plinnell => cbradney |
2007-03-18 00:32 |
|
Status | assigned => resolved |
2007-03-18 00:33 |
|
View Status | private => public |
2007-03-20 00:46 |
|
Status | resolved => closed |