I had a working build environment on my Win7/64 with mingw.
Some recent update seems to have broken it. Got gcc 4.6.2, headers updated, etc. Anyone knows what this is?
[exec] In file included from c:/Users/dblock/Source/GitHub/jna/dblock/native/libffi/src/closures.c:112:0:
[exec] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:38:40: error: expected declaration specifiers or '...' before '(' token
[exec] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:38:40: error: expected declaration specifiers or '...' before '(' token
[exec] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/string.h:38:40: error: expected declaration specifiers or '...' before '(' token
[exec] In file included from c:/Users/dblock/Source/GitHub/jna/dblock/native/libffi/src/closures.c:233:0:
[exec] c:/Users/dblock/Source/GitHub/jna/dblock/native/libffi/src/dlmalloc.c: In function 'internal_realloc':
[exec] c:/Users/dblock/Source/GitHub/jna/dblock/native/libffi/src/dlmalloc.c:3894:9: warning: implicit declaration of function 'bcopy' [-Wimplici
t-function-declaration]
[exec] c:/Users/dblock/Source/GitHub/jna/dblock/native/libffi/src/dlmalloc.c:3894:9: warning: incompatible implicit declaration of built-in funct
ion 'bcopy' [enabled by default]
[exec] make[3]: *** [src/closures.lo] Error 1
[exec] make[2]: *** [all-recursive] Error 1
[exec] make[1]: *** [all] Error 2
[exec] make: *** [../build/native-win32-x86/libffi/.libs/libffi.a] Error 2