18 Sep
2007
18 Sep
'07
9:15 a.m.
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.