G'day Scuri,
I've updated my local SVN repository with your fixes, and the number of errors
reported for a build on the GNU/Linux Mint machine is pleasing, and is attached.
I'm still working on the results for the Gentoo GNU/Linux machine; it does
see more defects, as it has gcc 6.4.x, not 5.4.x on Mint.
Anyway, here's the 5.4.x / Mint summary... down to five warnings!
cheers,
sur-behoffski etc.
* No diagnostics for:
#include expects "FILENAME" or <FILENAME>
missing binary operator before token "("
<FUNC> is deprecated [-Wdeprecated-declarations]
<FUNC1> is deprecated: Use <FUNC2> instead [-Wdeprecated-declarations]
comparison between <ENUM1> and <ENUM2> [-Wenum-compare]
format <FMT> expects argument of type <TYPE1>, but argument <NUM> has type
<TYPE2> [-Wformat=]
too many arguments for format [-Wformat-extra-args]
implicit declaration of function <FUNC> [-Wimplicit-function-declaration]
assignment from incompatible pointer type [-Wincompatible-pointer-types]
cast to pointer from integer of different size [-Wint-to-pointer-cast]
<VAR> is usually a function [-Wmain]
<VAR> may be used uninitialized in this function [-Wmaybe-uninitialized]
missing braces around initializer [-Wmissing-braces]
the use of `tmpnam' is dangerous, better use `mkstemp'
suggest parentheses around assignment used as truth value [-Wparentheses]
suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
suggest parentheses around '&&' within '||' [-Wparentheses]
cast from pointer to integer of different size [-Wpointer-to-int-cast]
<VAR> will be initialized after [-Wreorder]
no return statement in function returning non-void [-Wreturn-type]
control reaches end of non-void function [-Wreturn-type]
case value <LABEL> not in enumerated type <ENUM> [-Wswitch]
this 'for' clause does not guard... [-Wmisleading-indentation]
this 'if' clause does not guard... [-Wmisleading-indentation]
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
enumeration value <ENUM> not handled in switch [-Wswitch]
<EXPRESSION> is used uninitialized in this function [-Wuninitialized]
<VAR> defined but not used [-Wunused-const-variable=]
<FUNC> defined but not used [-Wunused-function]
ignoring return value of <FUNC>, declared with attribute warn_unused_result
[-Wunused-result]
<VAR> defined but not used [-Wunused-variable]
unused variable <VAR> [-Wunused-variable]
variable <VAR> set but not used [-Wunused-but-set-variable]
warning: ISO C++ forbids converting a string constant to <TYPE>
[-Wwrite-strings]
deprecated conversion from string constant to <TYPE> [-Wwrite-strings]
(End of list.)
format not a string literal and no format arguments [-Wformat-security]:
drv/pptx.c:578:[Function:printPresentation]:
fprintf(presentationFile, presentationPrefix);
initialization from incompatible pointer type [-Wincompatible-pointer-types]:
drv/cdim.c:[At:242]:
cdcreatecanvas,
passing argument <NUM> of <FUNC> from incompatible pointer type
[-Wincompatible-pointer-types]:
drv/pptx.c:1552:[Function:writeZipFile]: 3 minizip
ret = minizip(filename, dirname, files, i);
drv/pptx.c:1554:[Function:writeZipFile]: 2 removeTempFiles
removeTempFiles(dirname, files, i);
statement with no effect [-Wunused-value]:
minizip/zip.c:1070:[Function:zipOpenNewFileInZip4_64]:
(crcForCrypting);
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users