
Hello, Steven.
Thanks very much for your help.
Well, I have added this:
#if !defined(BOOST_NO_SFINAE) && !defined(__CODEGEARC__) // curru
and the compiler does not produce the error anymore (so your suggestion was ok)
but many other errors arise. The first one is:
[BCC32 Error] has_key_impl.hpp(51): E2285 Could not find a match for
'aux::ptr_to_ref<T>(Set *)'
in line
: bool_<
( sizeof( BOOST_MPL_AUX_OVERLOAD_CALL_IS_MASKED(
Set
, BOOST_MPL_AUX_STATIC_CAST(aux::type_wrapper<T>*, 0)
) ) == sizeof(aux::no_tag) )
>
Waiting for your answer!! :-)
Best regards.
jose
________________________________
De: Steven Watanabe
I'm unable to compile boost in Embarcadero 2010 (CodeGear) version 0x621. My code is really simple:
#include "boost/random/mersenne_twister.hpp"
This produces this error:
[BCC32 Error] mersenne_twister.hpp(63): E2299 Cannot generate template specialization from 'detail::disable_constructor
' in the line:
BOOST_RANDOM_DETAIL_GENERATOR_CONSTRUCTOR(mersenne_twister, Generator, gen) { seed(gen); }
Does it work if you go to boost/random/detail/seed.hpp line 20 (The #if), and add !defined(__CODEGEARC__) to the list? In Christ, Steven Watanabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users