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.orghttp://lists.boost.org/mailman/listinfo.cgi/boost-users