OS: Win2K SP4
Build Env: Visual Studio .NET 2003 SP1(cl version 13.10.6030)
The nested structure declaration '_STLP_alloc_proxy::_MaybeReboundAllocWithState' in _alloc.h leaves its constructor declared without definition, which makes the compiler to complain:
Compiler Warning (level 1) C4661
'identifier' : no suitable definition provided for explicit template instantiation request
I believe the structure here is only to do EBO detection? So is it possible to remove the declaration of the constructor?
We already had a bug report about this issue and there is a fix in STLPORT_5_1 SVN branch. It will be ok for 5.1.3.
Temporarily you can remove the whole stateless class detection system for your compiler. AFAIK only VC6 require it if you are using your own allocator implementation.
Got it. Thanks.