[GRASS-dev] [GRASS GIS] #3079: shapelib/DBF driver: re-sync to GDAL/OGR needed
GRASS GIS
trac at osgeo.org
Sun Dec 4 07:45:36 PST 2016
#3079: shapelib/DBF driver: re-sync to GDAL/OGR needed
--------------------------+---------------------------
Reporter: neteler | Owner: grass-dev@…
Type: task | Status: new
Priority: major | Milestone: 7.4.0
Component: Database | Version: svn-trunk
Resolution: | Keywords: dbf, shapelib
CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------
Comment (by rouault):
I've just resync'ed shapelib CVS from GDAL and make various fixes to
compile in standalone mode (likely similar to yours). See
http://lists.maptools.org/pipermail/shapelib/2016-December/000627.html
Looking at r69890, the following is incorrect:
{{{
+#define CPL_IGNORE_RET_VAL_INT(ret_val_int) return
}}}
The purpose of this macro is to make the compiler not warn about the fact
that we don't verify the return value of a function. The correct dummy
implementation should be :
{{{
#define CPL_IGNORE_RET_VAL_INT(x) x
}}}
(see https://trac.osgeo.org/gdal/changeset/36680)
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3079#comment:4>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list