[Gdal-dev] OGR DGN compile error

Frank Warmerdam warmerdam at pobox.com
Thu Nov 27 09:29:49 EST 2003


Julien Demaria wrote:
> Hi,
> 
> 
> I've just updated my GDAL CVS sources and there is an error in the 
> latests modifications on OGR DGN driver :
> 
> (Compile on Windows XP with MSVC++ 6.0) :
> 
> => ogrdgnlayer.cpp(840) : error C2660: 'DGNCreateComplexHeaderFromGroup' 
> : function does not take 4 parameters
> 
> 
> ogrdgnlayer.cpp :
> =============
> 
>         papsGroup[0] =
>             DGNCreateComplexHeaderFromGroup( hDGN, nGroupType,
>                                              iGeom, papsGroup + 1 );
> 
> dgnwrite.cpp :
> ===========
> 
> DGNElemCore *
> DGNCreateComplexHeaderFromGroup( DGNHandle hDGN, int nType, int nSurfType,
>                                  int nNumElems, DGNElemCore **papsElems )
> 
> {
> 
> 
> We must add the nSurfType parameter to the call of 
> DGNCreateComplexHeaderFromGroup...
> 
> 
> 
> Thanks in advance for fix ! :-)
> 
>

Fixed in CVS.  Sorry about that folks.

-- 
---------------------------------------+--------------------------------------
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