[gecode-users] Gecode 3.2.0

Guido Tack tack at ps.uni-sb.de
Wed Oct 7 13:49:04 CEST 2009


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)?

Cheers,
	Guido

Carlos Agon wrote:

> Hi all,
>
> I have installed the new Gecode 3.2.0 framework on Mac OS, but I do  
> not arrive to run any program. I use Xcode and get always this error :
>
> error: 'static Gecode::Propagator* Gecode::Propagator::cast 
> (Gecode::ActorLink*)' is private
>
>
>
> /*
>
>  * Propagator
>
>    *
>
>    */
>
>   forceinline Propagator*
>
>   Propagator::cast(ActorLink* al) {
>
>     // Turning al into a reference is for gcc, assume is for MSVC
>
>     GECODE_NOT_NULL(al);
>
>     ActorLink& t = *al;
>
>     return static_cast<Propagator*>(&t);
>
>   }
>
>
>
> in core.hpp
>
>
>
> Is it a bug ? or I am doing something wrong (I am a real newbie).
>
>
>
> Else Gecode is really impressive !
>
>
>
> Thanks for your help,
>
>
>
> Carlos
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20091007/e70f917f/attachment.htm>


More information about the gecode-users mailing list