Compiling newLisp-8.8.0 with Borland C++ builder 2006
Posted: Tue Jun 06, 2006 11:25 pm
Hello Lutz !
As i try to compile the source of newLisp with Borland ( in a project ), the compiler detect one bug on the line n° 340 of nl-math.c in function:
CELL * functionFloat (CELL * params, int op)
{
...
switch (op)
{
...
case OP_ERRORFUNC: floatN = erf (floatN); break;
...
the function:
double erf (double) is undefined
The closest function name that i find is p_erf but the signature is complitely different, there is a link in file "primes.h" between erf & p_erf in the table named primitive.
In the hope that these few lines can help you,
Best Regards,
Christian
PS
I keep hope alive that one day, you introduce struct access for complex data ( records ) which permit field access without pack & unpack the buffer in several variables and without compute offset & length for the atomic datas.
As i try to compile the source of newLisp with Borland ( in a project ), the compiler detect one bug on the line n° 340 of nl-math.c in function:
CELL * functionFloat (CELL * params, int op)
{
...
switch (op)
{
...
case OP_ERRORFUNC: floatN = erf (floatN); break;
...
the function:
double erf (double) is undefined
The closest function name that i find is p_erf but the signature is complitely different, there is a link in file "primes.h" between erf & p_erf in the table named primitive.
In the hope that these few lines can help you,
Best Regards,
Christian
PS
I keep hope alive that one day, you introduce struct access for complex data ( records ) which permit field access without pack & unpack the buffer in several variables and without compute offset & length for the atomic datas.