
27 Aug
2010
27 Aug
'10
8:55 p.m.
In cstdint.hpp, the logic is that , if sizeof(long) == 4 then int32_t = long elseif sizeof(int) == 4 then int32_t = int. However, boost::detail::int_least_helper assumes sizeof(long) > sizeof(int). The consequence is that int_t<32>::fast is not the same as int32_t on MSVC while MSVC always garantee that int == long. Is there any rationale we missed or should I try to fix that as it currently prevent nT2 from compiling on MSVC . Regards