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
us...@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

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

Reply via email to