
17 Dec
2010
17 Dec
'10
4:45 p.m.
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
' 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