Opened 9 years ago
Closed 9 years ago
#2724 closed defect (invalid)
gdal-grass: Wrong return type in ogrgrass.h
| Reported by: | mkrapp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.1 |
| Component: | Default | Version: | unspecified |
| Keywords: | gdal-grass | Cc: | |
| CPU: | Unspecified | Platform: | MacOSX |
Description
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 );
~~~ ^
Find a patch attached
Attachments (1)
Change History (3)
by , 9 years ago
| Attachment: | gdal-grass.patch added |
|---|
comment:1 by , 9 years ago
| Milestone: | → 7.0.1 |
|---|
comment:2 by , 9 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Neither a GRASS nor a GDAL bug. This error comes from using an old gdal-grass archive when compiling with GDAL 2.0. Use http://download.osgeo.org/gdal/2.0.0/gdal-grass-2.0.0.tar.gz
Note:
See TracTickets
for help on using tickets.

Thanks for the patch.
However, I'm afraid that this is the wrong bugtracker for the request: it is a patch for the GDAL software which is tracked at
https://trac.osgeo.org/gdal/
Would you mind to submit it there? AFAIK I cannot reassign it to that tracker myself.