[gecode-users] Bug???

Rafael Meneses rafaparafernalia at gmail.com
Wed Aug 23 08:40:59 CEST 2006


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

The result is OK, but the warning is ugly ;)


or my code is the error....


I attach my code.


-- 
Rafael Meneses
http://www.zeke.cl
http://www.labsd.inf.utfsm.cl/~rmeneses
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warning.cc
Type: text/x-c++src
Size: 1950 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20060823/3c90fc62/attachment.cc>


More information about the gecode-users mailing list