[Gdal-dev] GDAL/OGR 1.3.0 Released
Frank Warmerdam
fwarmerdam at gmail.com
Mon Aug 22 09:09:43 EDT 2005
On 8/22/05, Ben Discoe <ben at vterrain.org> wrote:
> I am just trying to build 1.3.0 for the first time today, and there is one
> change which gives some compiler worries on MSVC:
>
> Gdal_priv.h
> * Revision 1.62 2005/07/25 21:24:28 ssoule
> * Changed GDALColorTable's "GDALColorEntry *paoEntries" to
> * "std::vector<GDALColorEntry> aoEntries".
>
> This causes the following on MSVC 7.1:
>
> gdal_priv.h(469) : warning C4251: 'GDALColorTable::aoEntries' : class
> 'std::vector<_Ty>' needs to have dll-interface to be used by clients of
> class 'GDALColorTable' with [ _Ty=GDALColorEntry ]
>
> It's just a warning, but a troubling one. Anyone know what it means? I
> have little idea how calling conventions affect templates like std::vector.
Ben,
This was incorporated by Steve Soule as a sort of experimental effort
to make better use of the standard C++ library. An effort to shake out
issues such as you have found.
Steve, any thoughts on this?
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