I'm not seeing my message appear on the ecl-readline mailinglist so I'll just paste the info here. To get ecl-readline 0.4.1 to compile with ECL 10.4.1 when the latter is configured --with-cxx I had to make the following changes:
In ecl-readline.lisp line 47:added: (ffi:clines "#ifdef __cplusplus" "#include
" "#endif") below the line "(ffi:clines "#include
")". In ecl-completions.lisp line 71:
was: g_completions = malloc(#0 * sizeof(char*) + 1); now: g_completions = (char**)malloc(#0 * sizeof(char*) + 1);
I think the last line is legal C, but I haven't tested it.
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively