From: Lapshin, Kirill (Kirill.Lapshin_at_[hidden])
Date: 2003-03-24 17:47:45
>> The interesting part that it fails to compile even when there is no
>> instantiation of the template.
>> In random library this assertion is within #ifndef
>> BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS #endif directives.
>That makes no sense. That macro is defined for msvc6 IIRC.
No it is not.
Defining this macro prior to including any boost headers solves the problem,
config/compiler/visualc.hpp does not have such define. Also as I said before
I was trying few tricks from detail/numeric_traits.hpp, and one of the
reasons why I suggested to put this define is that I've seen similar one in
there. For instance line 84 of detail/numeric_traits.hpp reads:
#if defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) || defined(BOOST_MSVC)
&& BOOST_MSVC <= 1300
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk