#2724: gdal-grass: Wrong return type in ogrgrass.h
------------------------+-------------------------
Reporter: mkrapp | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: unspecified
Keywords: gdal-grass | CPU: Unspecified
Platform: MacOSX |
------------------------+-------------------------
{{{GetFeatureCount( int )}}} in {{{ogrgrass.h}}} returns {{{int}}} but
should return {{{GIntBig}} instead. Error message when compiling the
source ({{{gdal-grass-1.4.3.tar.gz}}}) is:
{{{
In file included from ogrgrassdriver.cpp:30:
./ogrgrass.h:54:25: error: virtual function 'GetFeatureCount' has a
different return type ('int') than the function it overrides
(which has return type 'GIntBig' (aka 'long long'))
int GetFeatureCount( int );
~~~ ^