[gdal-dev] C4251 warnings in VS2017

Mateusz Loskot mateusz at loskot.net
Tue Jun 11 07:14:14 PDT 2019


On Tue, 11 Jun 2019 at 14:46, Michel Dastous <Michel.Dastous at bentley.com> wrote:
>
> Sample warning message:
> 1>e:\mapserverlibs\include\ogr_featurestyle.h(89,41): warning C4251:  'OGRStyleTable::osLastRequestedStyleName': class 'CPLString' needs to have dll-interface to be used by clients of class 'OGRStyleTable'
> 1>e:\mapserverlibs\include\ogr_featurestyle.h(89,41): warning C4251:     CPLString osLastRequestedStyleName{};
> 1>e:\mapserverlibs\include\ogr_featurestyle.h(89,41): warning C4251:                                         ^
>
> Is it still an ongoing issue or am I missing some compile option?

What makes you think it is an ongoing issue, has an issue been
even reported, opened, PR-ed?

There is no ongoing project or activity with aim to free GDAL from
all warnings. Warnings are cleaned as they are noticed and some
remain unnoticed for long or very long time.

Pull requests are welcome, as usual.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list