[Gdal-dev] GDAL/OGR 1.3.0 Released

Ben Discoe ben at vterrain.org
Mon Aug 22 01:59:18 EDT 2005


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




More information about the Gdal-dev mailing list