[gecode-users] Gecode 3.2.0

Carlos Agon Carlos.Agon at ircam.fr
Wed Oct 7 19:22:33 CEST 2009


yes ! it works

it was indeed a problem of gcc version

thanks a lot

Carlos
Le 7 oct. 09 à 14:24, Gustavo Gutierrez a écrit :

>
>
> 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
> _______________________________________________
> 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/ba2d8b65/attachment.htm>


More information about the gecode-users mailing list