Concerning the ptrdiff_t warnings with VC 7: I just committed a change
that should fix the warnings.
I didn't want to globally disable the warning, because it is a useful
warning to have, and I didn't want to disable it in the
vsl_binary_io.h header, because that will "infect" whoever includes
So, I put in the "__w64" keyword, which essentially tells the compiler
that there won't be any 32-bit to 64-bit conversions issues for a
specific type. (Actually, ptrdiff_t is defined as "int __w64", so I
just changed the parameter to match. Since int "converts" without
warning to "int __w6", all is well.)
On a real 64-bit platform, the warnings will trigger again, as they
should: there isn't any code (yet) to write out 64-bit
integers. 64-bit Windows (WIN64) has int and long at 32-bits, and
__Int64 as the 64-bit integral type.
FWIW, we could probably write the 64-bit binary code by using the