|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-03-24 20:01:55
At 05:47 PM 3/24/2003, Lapshin, Kirill wrote:
>>> 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 ...
In my local working copy, I added:
# define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
to visualc.hpp.
While that changed the error messages somewhat, random_demo and random_test
are still failing.
When you say adding the macro "solves the problem", exactly what tests are
fixed? Or did you also make some other fixes too? Did you try other
regression tests?
Thanks,
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk