[gdal-dev] errors compiling r20250

Even Rouault even.rouault at mines-paris.org
Wed Aug 11 02:05:44 EDT 2010


Thanks for having fixed this. I have now added a specific header file for 
gmlutils.cpp that should avoid those unwanted dependencies.

Le mercredi 11 août 2010 06:32:51, Frank Warmerdam a écrit :
> 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,


More information about the gdal-dev mailing list