Trying desperately to compile Crypto++ 5.2.1 with STL Port on Windows
2000 Professional using a batch build from within Visual C++ 6.0 on
Visual Studio 6.0 Enterprise Edition Service Pack 5. I keep getting
the following errors:

...
gzip.cpp
../stlport\stl/_alloc.h(506) : error 2784: 'class
_STL::allocator<_Tp2> &__cdecl _STL::_stl_alloc_rebind(class
_STL::allocator<_Tp1> &,const _Tp2 *)' : could not deduce template
argument for class ' _STL::allocator<_Tp> &'  from 'class
CryptoPP::AllocatorWithCleanup<class
CryptoPP::HuffmanDecoder::CodeInfo>'

../stlport\stl/_alloc.h(505) : while compiling class-template member
function 'void _thiscall _STL::_STLP_alloc_proxy<ckass
CryptoPP::HuffmanDecoder::CodeInfo *,class
CryptoPP::HuffmanDecoder::CodeInfo, class
CryptoPP::AllocatorWithCleanup<class
CryptoPP::HuffmanDecoder::CodeInfo> >::deallocate(class
CryptoPP::HuffmanDecoder::CodeInfo *, unsigned int);

../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:allocator<_Tp> &; from 'class
CryptoPP::AllocatorWithCleanup<class
CryptoPP::HuffmanDecoder::CodeInfo>'

What is going on here? There is no direct reference between Visual C++
6.0 SP 5 and Crypto++ WITH STLPort. Are they simply not compatible?

Mark

Reply via email to