|
Boost Users : |
Subject: [Boost-users] cstdint.hpp on MSVC inconsitency ?
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-08-27 16:55:23
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net