Boost logo

Boost Users :

Subject: Re: [Boost-users] Problems in CodeGear
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-12-17 11:45:22


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net