[gecode-users] Re: Bug???

Rafael Meneses rafaparafernalia at gmail.com
Wed Aug 23 08:46:27 CEST 2006


On 8/23/06, Rafael Meneses <rafaparafernalia at gmail.com> wrote:
> Hi,
>
>
> When I use
>
> Gecode::post(this,Gecode::abs(this,Gecode::post(this,sameNumber[ii]-sameNumber[ii-1]))
> == i+2);
>
> Produce this warning:
>
> /home/rmeneses/src/gecode-1.2.2/gecode/int/var/int.icc:41: warning:
> 'x$var' is used uninitialized in this function
>
>
> with compile options:
>
>  -O3 -Wall

I probe with g++-4.1 and g++-4.0.

>
> The result is OK, but the warning is ugly ;)
>
>
> or my code is the error....
>
>
> I attach my code.
>

saludos,

>
> --
> Rafael Meneses
> http://www.zeke.cl
> http://www.labsd.inf.utfsm.cl/~rmeneses
>
>
>


-- 
Rafael Meneses
http://www.zeke.cl
http://www.labsd.inf.utfsm.cl/~rmeneses




More information about the gecode-users mailing list