From: Philippe Michel <[EMAIL PROTECTED]>

On FreeBSD 6.0 :

rollout.o(.text+0x11d3): In function `RolloutGeneral':
/home/pm/src/gnubg/rollout.c:1480: undefined reference to `min'
*** Error code 1

min() is not a standard function or macro. You have to define it yourself. See for instance eval.c (where it seems to be defined twice!) or osr.c

Thanks for pointing this out - it's funny I noticed the double define in eval.c too.

I've checked in a more general approach, everyone use MIN and MAX from now on - this is defined in backgammon.h (if it's not already there - these are defined by GTK).

Jon




_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to