Opened 13 years ago

Closed 13 years ago

#3948 closed defect (fixed)

wrong include order in ogr/gpx and ogr/georss

Reported by: nowakpl Owned by: warmerdam
Priority: high Milestone: 1.8.1
Component: OGR_SF Version: 1.8.0
Severity: normal Keywords:
Cc:

Description

while building on freebsd 8.1 with expat in /usr/local/include and previous gdal installation:

g++ -g -O2 -Wall -I.. -I../.. -I/usr/local/include -I/opt/src/gdal-1.8.0/port -I/opt/src/gdal-1.8.0/gcore -I/opt/src/gdal-1.8.0/alg -I/opt/src/gdal-1.8.0/ogr -I/opt/src/gdal-1.8.0/ogr/ogrsf_frmts -DOGR_ENABLED -I/opt/src/gdal-1.8.0/port -DHAVE_EXPAT -c ogrgpxdriver.cpp  -fPIC -DPIC -o ../o/.libs/ogrgpxdriver.o
In file included from ogrgpxdriver.cpp:30:
ogr_gpx.h:70: error: ISO C++ forbids declaration of 'VSILFILE' with no type
ogr_gpx.h:70: error: expected ';' before '*' token
ogr_gpx.h:182: error: ISO C++ forbids declaration of 'VSILFILE' with no type
ogr_gpx.h:182: error: expected ';' before '*' token
ogr_gpx.h:227: error: ISO C++ forbids declaration of 'VSILFILE' with no type
ogr_gpx.h:227: error: expected ';' before '*' token
ogr_gpx.h:228: error: expected `;' before 'void'

Change History (1)

comment:1 by Even Rouault, 13 years ago

Milestone: 1.8.1
Resolution: fixed
Status: newclosed

Fixed in trunk (r21620) and in branches/1.8 (r21621)

Note: See TracTickets for help on using tickets.