Filip Konvička wrote:
It seems that spec() has more arguments in LinBin than in Actor, so the compiler chokes. (Note that the function is not explicitly "virtual" inLinBin.) This is a "Level 4" warning 4263, which I used to have turnedinto error using, so I wonder whether this should be fixed in Gecode ornot. The warning says that LinBin::spec() effectively hidesActor::spec() in LinBin (which might be intentional, of course, but thecompiler probably doubts that).
C4263 is one of the warnings that is off by default, that's why we hadn't noticed yet. I'm not sure what we're going to do about it, the code is perfectly legal C++, and it doesn't cause any problems. I wouldn't want to rename the function just because of this warning. Does it help to make LinBin::spec virtual itself? If so, that would be an option.
Cheers, Guido
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users