[gdal-dev] errors compiling r20250

Frank Warmerdam warmerdam at pobox.com
Wed Aug 11 00:32:51 EDT 2010


On Tue, Aug 10, 2010 at 10:05 PM, Joaquim Luis <jluis at ualg.pt> wrote:
> Hi,
>
> I'm getting these compiling errors. I did build the trunk version from
> yesterday without any problem
>
> c:\programs\gdaltrunk\gdal\ogr\ogrsf_frmts\gml\gmlreaderp.h(274) : error
> C2143: syntax error : missing ';' before '*'

Joaquim / Even,

I have traced this to the inclusion of gmlutils.cpp in the default
build list for the gml driver.  gmlutils.cpp include gmlreaderp.h
even when neither expat nor xerces are available.  This normally
would not happen in this case.

I suspect that gmlutils.cpp should either be altered to not depend
on gmlreaderp.h or it should be in the list of objects files only
included when xerces or expat are available.

However, in the meantime, I have done a hacky fix in r20251
to gmlreaderp.h to make it build (after a fashion) without either
expat or xerces.

So - hopefully - things should build again from svn.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


More information about the gdal-dev mailing list