
2 Dec
2008
2 Dec
'08
10:44 p.m.
AMDG Patrick McEvoy wrote:
Activating #define BOOST_NO_INTRINSIC_INT64_T seems to have fixed the problem. Any idea why the if statement failed?
I'm guessing that a) boost::uint64_t is the same as unsigned long b) 0xffffffff == -1 c) Therefore (unsigned long)-1 == ~0ul == ULONG_MAX d) Thus, the whole expression evaluates to false. In Christ, Steven Watanabe