[gdal-dev] proj.5 support added in trunk

Even Rouault even.rouault at spatialys.com
Thu Mar 22 02:50:59 PDT 2018


On mercredi 21 mars 2018 16:16:53 CET Kurt Schwehr wrote:
> Awesome!!  Thanks Even.
> 
> This isn't a bug, but I hit your workaround for 5.0.1 as I'm using proj
> master near head.
> 
> third_party/gdal/ogr/ogrct.cpp:56:20: error: static declaration of
> 'proj_errno_string' follows non-static declaration
> static const char* proj_errno_string(int err)
>                    ^
> third_party/proj4/proj/src/proj.h:352:13: note: previous declaration is here
> const char* proj_errno_string (int err);
> 
> Was trivial to fix locally, so I'm not advocating any change.  Just
> documenting it.  Just adding a #if 0.
> 
> #if 0 && PROJ_VERSION_MAJOR == 5 && PROJ_VERSION_MINOR == 0
> 

Oh, gcc 5.4 doesn't complain about this.
I've suggested updating PROJ_VERSION_MINOR to 1 in proj master per
https://github.com/OSGeo/proj.4/pull/888

> And, I filed a bug on VisionWorkbench with reference to this GDAL change
> since there are known issues with vw and proj 5 (seen with TSAN).
> The vw folks aren't particularly interested.

Hum ok... 

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list