Hi all,
    we recently moved from Crypto++ 5.1 to 5.21, using MSVC 6.0, either SP5 or SP6.
It was a bit surprising to notice that the processor pack is now required (not just recommended), otherwise hrtimer.cpp doesn't compile, since on line #26 we have a conversion between unsigned long long to double. This seems not being supported without the PP.
It was even more surprising to notice che SP6 is not compatible with the processor pack, so anyone using SP6 had to reinstall SP5, and then the PP. Microsoft never released a PP for SP6, no explanations.
That was ok, until we discovered that the code
generated by the compiler using the PP is bugged after a declaration of an unsigned long long as a local variable: from that point, offsets to passed function argument are wrong, we get an AV, etc. etc. Not to mention that Rational Purify appears failing to manage executables generated through the PP.
All of this disappears while switching to MSVC 7.0.
While we will certainly move to it, what about getting away with that damned PP (like it was in 5.1) for any future version of Crypto++ ?
And btw - if we patch hrtimer.cpp - does the library compile/run fine with SP6, or is it definitely bound to SP5+PP ?
Thanks,

Renzo Tomaselli



Reply via email to