Hi, Jürgen,
It may be just a weirdness in my compiler (g++ 10.2.1 20201125
(Red Hat 10.2.1-9)) but when I built your latest libapl it gave
half a dozen instances of things similar to:
libapl.cc: In function ‘Function*
get_function_ucs(const unsigned int*, Function**, Function**)’:
libapl.cc:459:55: error: invalid conversion from ‘Function_P’
{aka ‘const Function*’} to ‘APL_function’ {aka ‘Function*’}
[-fpermissive]
459 | case TC_OPER2: return
tos[0].get_function();
| ~~~~~~~~~~~~~~~~~~~^~
| |
|
Function_P {aka const Function*}
I patched around it by casting tos[0].get_function() to (APL_function)tos[1].get_function() but
I expect there's a more elegant fix.
Anyway, I attached a diff file if you want to use it.
Chris
On 1/1/21 7:24 AM, Dr. Jürgen
Sauermann wrote:
Hi Chris,
fixed in SVN 1400.