2009/10/7 Guido Tack <t...@ps.uni-sb.de>

> Hi!
> The problem is not Propagator::cast, because that method has not been
> changed (it was private in the previous release, too).  Can you please let
> us know what version of Gecode you used previously, and give us an idea
> where you call Propagator::cast (e.g. small code sample)?
>
>

Probably is not related but I used to see this error (or something similar)
when I forgot to change the compiler version. By default in leopard xcode
uses gcc 4 and you have to explicitly change it to use gcc 4.2.


Here is the message I got when using 4.0:

./gecode/kernel/core.hpp: In constructor
‘Gecode::Space::Propagators::Propagators(const Gecode::Space&)’:
./gecode/kernel/core.hpp:2422: error: ‘static Gecode::Propagator*
Gecode::Propagator::cast(Gecode::ActorLink*)’ is private
./gecode/kernel/core.hpp:3356: error: within this context
./gecode/kernel/core.hpp:3356: error: ‘Gecode::ActorLink’ is an inaccessible
base of ‘Gecode::Propagator’
./gecode/kernel/core.hpp:2430: error: ‘static const Gecode::Propagator*
Gecode::Propagator::cast(const Gecode::ActorLink*)’ is private
./gecode/kernel/core.hpp:3357: error: within this context
./gecode/kernel/core.hpp:3357: error: ‘Gecode::ActorLink’ is an inaccessible
base of ‘Gecode::Propagator’
./gecode/kernel/core.hpp: In member function ‘void
Gecode::Space::Propagators::operator++()’:



Regards,
-- 
Gustavo Gutierrez
_______________________________________________
Gecode users mailing list
us...@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to