I have a few remaining warnings, which I don't claim are new in 3.11,
but they don't seem like incorrect warnings at first glance. The first
file may also have missing std::, resulting in calling the C function abs
rather than C++ std::abs, but that's still not float?
No, std::abs() is fine there. Fixed per
https://github.com/OSGeo/gdal/commit/2d169a75c24aece05be9bba588d50bc055e9b9ac
[956/1299] Building CXX object
ogr/ogrsf_frmts/sqlite/CMakeFiles/ogr_SQLite.dir/ogrsqlitevirtualogr.cpp.o
In file included from
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitesqlfunctionscommon.cpp:22,
from
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitesqlfunctions.cpp:34,
from
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitevirtualogr.cpp:140:
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:
In function 'void OGRSQLiteREGEXPFunction(sqlite3_context*, int,
sqlite3_value**)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:212:62:
warning: use of old-style cast to 'const char*' [-Wold-style-cast]
Those ones are related to the use of the old PCRE library. Should be
fixed per
https://github.com/OSGeo/gdal/commit/0e38a13e0c7784ddde0361d57d508b8e16fdd4b4
, but you should consider using PCRE2 instead
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev