On Wed, Jan 2, 2013 at 5:40 PM, Taco Hoekwater
On 01/02/2013 05:31 PM, luigi scarso wrote:
I'm trying to compile luatex with --host=x86_64-w64-mingw32 --build=x86_64-linux-gnu (use a fixed font to see the error)
In file included from ../../../source/texk/web2c/**luatexdir/luafontloader/** fontforge/Unicode/char.c:29:0: /media/LaCie/opt/mingw-w64-**bin_x86_64-linux_20121031/x86_** 64-w64-mingw32/include/ctype.**h:102:23: error: expected ‘)’ before ‘_C’ _CRTIMP int __cdecl isalpha(int _C);
It looks like 'isalpha' is defined as a macro at this point already, making the declaration fail. Does that help?
yes, because source/texk/web2c/luatexdir/luafontloader/fontforge/inc/utype.h has #define isalpha(ch) (____utype[(ch)+1]&(____L|____U|____TITLE|____AL)) but why I have this error only with x86_64-w64-mingw32? -- luigi