|
From: | Jonathan Kinsey |
Subject: | RE: [Bug-gnubg] Problem with your recent change in gnubg's rollout.c |
Date: | Wed, 12 Apr 2006 06:53:30 +0000 |
From: Philippe Michel <address@hidden> On FreeBSD 6.0 : rollout.o(.text+0x11d3): In function `RolloutGeneral': /home/pm/src/gnubg/rollout.c:1480: undefined reference to `min' *** Error code 1min() 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
[Prev in Thread] | Current Thread | [Next in Thread] |