[mapserver-commits] [MapServer/MapServer] 023632: mapogr.cpp: replace use of GBool by int

Even Rouault noreply at github.com
Thu Sep 28 02:54:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 023632c6811cdfc9b2a3c2088d1d68adeb885f87
      https://github.com/MapServer/MapServer/commit/023632c6811cdfc9b2a3c2088d1d68adeb885f87
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M src/mapogr.cpp

  Log Message:
  -----------
  mapogr.cpp: replace use of GBool by int

The functions in the OGR_ST_ C API use int, not GBool. The later is
typedef to int, so there is no issue per se, but better use the type of
the API to avoid issues

(note: GBool is likely going to be deprecated soon in GDAL. Cf https://github.com/OSGeo/gdal/issues/8288
At least within the GDAL code base: it will likely remain available to external
code for a bit)


  Commit: 293e8524762300c5c9e11ca5205b1974bfc62bce
      https://github.com/MapServer/MapServer/commit/293e8524762300c5c9e11ca5205b1974bfc62bce
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M src/mapogr.cpp

  Log Message:
  -----------
  Merge pull request #6934 from rouault/GBool_int

mapogr.cpp: replace use of GBool by int


Compare: https://github.com/MapServer/MapServer/compare/2317b0c25a1d...293e85247623


More information about the MapServer-commits mailing list