From: John K. H. <hi...@al...> - 2004-07-13 20:46:24
|
I'm building the latest CVS and cannot build bindings/glibc under Linux ... It wants to include <math.h> function "floor" but that is already defined in "clisp.h" which is included first (why is clisp.h defining floor() ?) Anyway I then get this error: In file included from /usr/include/math.h:63, from linux.c:12: /usr/include/bits/mathcalls.h:168:36: macro "floor" requires 2 arguments, but only 1 given The "C" symbol "floor" is part of the Unix math library and does a floating-point floor. Looks like the #define in clisp.h is for an integer floor. Maybe call it something else instead of "floor"? Hope all this made sense. I can work around this by just putting #undef in the generated module source to eventually get a build, so it's not holding me up or anything. --- John Hinsdale, Alma Mater Software, Inc., Tarrytown, NY 10591-3710 USA hi...@al... | http://www.alma.com/staff/hin | +1 914 631 4690 |