Hi
I spend some time on checking STLport status with an experimental
gcc 4.2.1 version for MinGW. This compiler version is reporting warning
about management of facet id instances. Those facet ids are declared
with the additional qualifier _STLP_STATIC_MEMBER_DECLSPEC. Under MinGW
it is transformed in __declspec(dllexport) when building the lib and
__declspec(dllimport) when using it (in shared mode). The problem is
that when we use it in the context of for example the template class
codecvt, we are saying that the id instance will come from the STLport
lib for any instantiation of codecvt when in fact only codecvt<char,
char, mbstate_t> and codecvt<wchar_t, char, mbstate_t> will.
Thanks to the recent _GetFacetId workaround and taking into account
the fact that Visual Studio and Intel C++ compiler already do not need
it I simply would like to remove this workaround. Does any one see a
problem in doing so ?
Bests
|