#1866 closed defect (fixed)
KML driver needs very new Expat
Reported by: | warmerdam | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.4 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | kml |
Cc: | Didge |
Description
I get problems building kml driver with apparently older version of Expat. Stuff like missing definitioins for XMLCALL.
I would like a modest effort made to support older versions of Expat. In the meantime, I have modified kml.h with this check:
#ifndef XMLCALL #error "Old version of expat, please upgrade to expat 2.x #endif
Change History (7)
comment:1 by , 16 years ago
Status: | new → assigned |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 15 years ago
Milestone: | → 1.6.0 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
This bug marled as fixed, but kml.h still contains
#error "Old version of expat, please upgrade to expat 2.x"
That probably should be either confirmed to be unneded or moved into configure script. At the moment we have a broken compilation on systems with old Expat libraries.
comment:5 by , 15 years ago
/usr/include/expat_external.h says "The XMLCALL macro was added in Expat 1.95.7."
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in r15804. GPX and KML compiled and tested with Expat 1.95.0
Frank,
I've successfully built GDAL with Expat 1.95.8 (2004-07-23) and Expat 2.0.1 (2007-06-05).