Hello folks

This is probably a newbie question. Let me appologize in advance.

I am trying to compile in the following environment:

VC6 SP5
STLPort 4.5.3

And I get these error messages:
c:\microsoft visual studio\vc98\include\stlport\stl\_alloc.h(506) : error C2784: 
'class _STL::allocator<_Tp2> &__cdecl _STL::__stl_alloc_rebind(class 
_STL::allocator<_Tp1> &,const _Tp2 *)' : could not deduce template argument for 'class 
_STL::alloca
tor<_Tp> &' from 'class CryptoPP::AllocatorWithCleanup<struct 
CryptoPP::HuffmanDecoder::CodeInfo>'
        c:\microsoft visual studio\vc98\include\stlport\stl\_alloc.h(505) : while 
compiling class-template member function 'void __thiscall 
_STL::_STLP_alloc_proxy<struct CryptoPP::HuffmanDecoder::CodeInfo *,struct 
CryptoPP::HuffmanDecoder::CodeInfo
,class CryptoPP::AllocatorWithCleanup<struct CryptoPP::HuffmanDecoder::CodeInfo> 
>::deallocate(struct CryptoPP::HuffmanDecoder::CodeInfo *,unsigned int)'
c:\microsoft visual studio\vc98\include\stlport\stl\_alloc.h(506) : error C2784: 
'class _STL::allocator<_Tp2> &__cdecl _STL::__stl_alloc_rebind(class 
_STL::allocator<_Tp1> &,const _Tp2 *)' : could not deduce template argument for 'class 
_STL::alloca
tor<_Tp> &' from 'class CryptoPP::AllocatorWithCleanup<struct 
CryptoPP::HuffmanDecoder::CodeInfo>'
        c:\microsoft visual studio\vc98\include\stlport\stl\_alloc.h(505) : while 
compiling class-template member function 'void __thiscall 
_STL::_STLP_alloc_proxy<struct CryptoPP::HuffmanDecoder::CodeInfo *,struct 
CryptoPP::HuffmanDecoder::CodeInfo
,class CryptoPP::AllocatorWithCleanup<struct CryptoPP::HuffmanDecoder::CodeInfo> 
>::deallocate(struct CryptoPP::HuffmanDecoder::CodeInfo *,unsigned int)'
c:\microsoft visual studio\vc98\include\stlport\stl\_alloc.h(506) : error C2228: left 
of '.deallocate' must have class/struct/union type
        c:\microsoft visual studio\vc98\include\stlport\stl\_alloc.h(505) : while 
compiling class-template member function 'void __thiscall 
_STL::_STLP_alloc_proxy<struct CryptoPP::HuffmanDecoder::CodeInfo *,struct 
CryptoPP::HuffmanDecoder::CodeInfo
,class CryptoPP::AllocatorWithCleanup<struct CryptoPP::HuffmanDecoder::CodeInfo> 
>::deallocate(struct CryptoPP::HuffmanDecoder::CodeInfo *,unsigned int)'

Without STLPort it compiles Ok; Anyone has any clue as to why it fails
and how I can make it work with STLPort?

Thanks

-- Arik

Reply via email to