[Gdal-dev] GDAL, Libtiff, Proj4 compiler warnings

Curt, WE7U archer at eskimo.com
Fri Aug 26 18:22:41 EDT 2005


On Fri, 26 Aug 2005, Frank Warmerdam wrote:

> I have committed fixes for the item you listed (in libtiff, libgeotiff,
> proj and GDAL) but my attempts to reproduce the warning report
> with -Wstrict-prototypes failed.  I don't want -Wno-unused-parameter
> since it generates alot of junk warnings in functions that legimately
> don't need to use all their arguments.  Likewise, I don't want
> warnings on pointer arthmetic since I do that frequently and
> legimately.

This is what I got back from Tom:

> Some of them are gone.

> Remaining ones are in gdal.h, due to declarations like
>   int foo();
>
> which gcc3.4 flags as "not a prototype"
>
> The cpl_error.h warnings are gone.
>
> The main ones remaining are from proj.4 and libtiff/libgeotiff.


--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Gdal-dev mailing list