[gecode-users] Gecode 3.2.0

Carlos Agon Carlos.Agon at ircam.fr
Wed Oct 7 12:51:35 CEST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20091007/a2bf63f6/attachment.htm>


More information about the gecode-users mailing list