|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2007-09-18 05:15:42
Chris Newbold wrote:
>>> When I put this two lines, the code compile and link has well has on
>>> Win32 platform
>>
>> Those look fine; I've updated the Boost trunk accordingly.
>
> That's not going to help other 64-bit platforms like Linux, or for the
> use of 64-bit types like 'long long' on 32-bit systems.
Right: the normal invocation is:
#ifdef BOOST_HAS_LONG_LONG
// (unsigned) long long specialisation here
#elif defined (BOOST_HAS_MS_INT64)
// (unsigned) __int64 specialistion here.
#endif
Note that the current code will likely break on recent msvc versions because
"long long" and __int64 are the same type, but you have specialisations for
both :-(
HTH, John.
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