16.1.2 make fails on OpenSuSE Linux 42.2
Running configure; make leads to
/home/ralf/ecl/src/c/ffi.d:148:34: error: ‘FFI_SYSV’ undeclared here (not in a function)
{@':cdecl', FFI_SYSV},
This happens in ecl-16.1.2 tarballed source as well as in a git clone on the 16.1.2 tag. commit 43240e52
The system is OpenSuSE Leap 42.2 Linux and it happens with both gcc5 and gcc6. I have the libffi-devel-gcc5 system package installed which I guess corresponds to a libffi version from up to July 2015 because it doesn't have FFI_EFI64 in ffitarget.h
One can see that the system ffitarget.h does not define FFI_SYSV if X86_64 is defined. gcc defines:
ralf@ark:~/sage> gcc -dM -E - < /dev/null|grep -i x86
#define __x86_64 1
#define __x86_64__ 1