On 31/05/2016 22:22, Milind Gupta wrote:
When using MinGW and MinGW32-make clownfish compiling gives errors:
1. The configure.bat generates the cfc compiling recipe as (cd
..\..\compiler\c && $(MAKE)) but that does not work on windows. Each slash
should be replaced by a double slash. So I did this step manually.
This is caused by a bug in some versions of mingw32-make:
http://mingw.5.n7.nabble.com/mingw32-make-issue-with-windows-style-directories-as-target-dependencies-td21182.html
2. The runtime compilation gives the following error:
src\tls.c: In function 'DllMain':
src\tls.c:82:13: error: invalid operands to binary >> (have 'struct
cfish_Err *' and 'int')
DECREF(context->current_error);
This was fixed just recently in the master branch with this commit:
https://github.com/apache/lucy-clownfish/commit/269ceeb1b4faa3f95bf6e8cedf078b5e9abf4e3c
Nick