[gdal-dev] GDAL 3.10.1 release candidate available

Kai Pastor, DG0YT dg0yt at darc.de
Tue Jan 7 20:32:40 PST 2025


In vcpkg, I see downstream build errors for pdal, osgearth, gz-common5.
This seems to be related the GDAL_DEBUG changes, 
https://github.com/OSGeo/gdal/pull/11314, in the context of forward 
declarations in non-gdal code. It is probably visible only in debug 
builds. (Vcpkg builds debug and release.)

For pdal, the error is:

FAILED: CMakeFiles/pdalcpp.dir/filters/CropFilter.cpp.o
/usr/bin/c++ -DGDAL_DEBUG -DH3_PREFIX="" -DH5_BUILT_AS_STATIC_LIB 
-DPROJ_DLL="" -DUNIX -Dpdalcpp_EXPORTS 
-I/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean 
-I/mnt/vcpkg-ci/b/pdal/x64-linux-dbg/include 
-I/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/vendor 
-I/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/vendor/nlohmann 
-I/mnt/vcpkg-ci/installed/x64-linux/include/libxml2 -isystem 
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/vendor/kazhdan -isystem 
/mnt/vcpkg-ci/installed/x64-linux/include -isystem 
/mnt/vcpkg-ci/installed/x64-linux/include/eigen3 -isystem 
/mnt/vcpkg-ci/installed/x64-linux/include/utf8cpp -fPIC -g -std=c++17 
-fPIC -Wno-noexcept-type -Wno-class-memaccess -Wno-psabi 
-Wno-implicit-fallthrough -Wno-int-in-bool-context -Wno-dangling-else 
-Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual 
-Wno-error=parentheses -Wno-error=cast-qual -Wredundant-decls 
-Wno-unused-parameter -Wno-unused-variable -Wno-long-long 
-Wno-unknown-pragmas -Wno-deprecated-declarations 
-fvisibility-inlines-hidden -fvisibility=hidden -MD -MT 
CMakeFiles/pdalcpp.dir/filters/CropFilter.cpp.o -MF 
CMakeFiles/pdalcpp.dir/filters/CropFilter.cpp.o.d -o 
CMakeFiles/pdalcpp.dir/filters/CropFilter.cpp.o -c 
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/filters/CropFilter.cpp
In file included from 
/mnt/vcpkg-ci/installed/x64-linux/include/ogr_spatialref.h:20,
                  from 
/mnt/vcpkg-ci/installed/x64-linux/include/ogr_geometry.h:23,
                  from 
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/filters/private/Point.hpp:38,
                  from 
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/filters/CropFilter.cpp:44:
/mnt/vcpkg-ci/installed/x64-linux/include/ogr_srs_api.h:430:39: error: 
conflicting declaration ‘typedef struct OGRSpatialReferenceHS* 
OGRSpatialReferenceH’
   430 | typedef struct OGRSpatialReferenceHS *OGRSpatialReferenceH;
       |                                       ^~~~~~~~~~~~~~~~~~~~
In file included from 
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/pdal/Polygon.hpp:39,
                  from 
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/filters/CropFilter.hpp:41,
                  from 
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/filters/CropFilter.cpp:35:
/mnt/vcpkg-ci/b/pdal/src/2.8.3-5021054830.clean/pdal/Geometry.hpp:44:7: 
note: previous declaration as ‘using OGRSpatialReferenceH = void*’
    44 | using OGRSpatialReferenceH = void *;
       |       ^~~~~~~~~~~~~~~~~~~~

The latter is from
https://github.com/PDAL/PDAL/blob/master/pdal/Geometry.hpp#L44
It doesn't reflect the impact of the former private DEBUG, now public 
GDAL_DEBUG.

Kai




Am 07.01.25 um 15:32 schrieb Even Rouault via gdal-dev:
> Hi,
>
> I have prepared a GDAL/OGR 3.10.1 release candidate.
>
> Pick up an archive among the following ones (by ascending size):
>
> https://download.osgeo.org/gdal/3.10.1/gdal-3.10.1rc1.tar.xz
> https://download.osgeo.org/gdal/3.10.1/gdal-3.10.1rc1.tar.gz
> https://download.osgeo.org/gdal/3.10.1/gdal3101rc1.zip
>
> A snapshot of the gdalautotest suite is also available:
>
> https://download.osgeo.org/gdal/3.10.1/gdalautotest-3.10.1rc1.tar.gz
> https://download.osgeo.org/gdal/3.10.1/gdalautotest-3.10.1rc1.zip
>
> The NEWS file is here:
>
> https://github.com/OSGeo/gdal/blob/v3.10.1RC1/NEWS.md
>
> Best regards,
>
> Even
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250108/424b6cc0/attachment.htm>


More information about the gdal-dev mailing list