[gecode-users] Gecode 3.2.0

Gustavo Gutierrez ggutierrez at atlas.puj.edu.co
Wed Oct 7 14:24:20 CEST 2009


2009/10/7 Guido Tack <tack at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20091007/aa4e24af/attachment.htm>


More information about the gecode-users mailing list