STDMIN is a template function that accepts two parameter having same type. Now GCC4 is very restricted with type and gave an error because one parameter is size_t and another is unsigned int. Just cast one parameter to make them same type will solve this problem.

DB1 CB14 wrote:

I just checked out 5.3 (development) version from the
cvs.  The anonymous enum problem is fixed.

There is now an error in osrng.cpp.

osrng.cpp: In member function 'virtual void
CryptoPP::BlockingRng::GenerateBlock(byte*, size_t)':
osrng.cpp:129: error: no matching function for call to
'STDMIN(size_t&, unsigned int)'

R.

Dave


Reply via email to