From: Philip B. <ph...@fl...> - 2002-05-07 04:01:50
|
I've just upgraded to mingw-runtime 2.0, and I'm using MSYS 1.0.7-prerelease-2 to build the Lua 4.0 library. This has always worked flawlessly in the past. When I run make, I get this output: $ make cd include; make all make[1]: Entering directory `/d/lua/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/d/lua/include' cd src; make all make[1]: Entering directory `/d/lua/src' gcc -O2 -ansi -pedantic -Wall -I../include -c -o lapi.o lapi.c gcc -O2 -ansi -pedantic -Wall -I../include -c -o lcode.o lcode.c In file included from lzio.h:11, from llex.h:11, from lcode.h:10, from lcode.c:12: d:/msys/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-7/../../../../include/stdio.h:216: syntax error before `int' d:/msys/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-7/../../../../include/stdio.h:370: syntax error before `int' make[1]: *** [lcode.o] Error 1 make[1]: Leaving directory `/d/lua/src' make: *** [all] Error 2 Line 216 of stdio.h looks like this: extern inline int vsnprintf (char* s, size_t n, const char* format, __VALIST arg) { return _vsnprintf ( s, n, format, arg); } Line 370 looks like this: extern inline int vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg) { return _vsnwprintf ( s, n, format, arg);} Does anyone have any idea as to what's wrong? Thanks, Philip Bock |