
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 <watanabesj@gmail.com> Para: boost-users@lists.boost.org Enviado: vie,17 diciembre, 2010 17:45 Asunto: Re: [Boost-users] Problems in CodeGear AMDG On 12/17/2010 2:26 AM, jose perez wrote:
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<Engine,T>'
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