On Wed, 2008-11-05 at 13:59 +0100, Joost Kraaijeveld wrote: > Hi, > > Is it possible to actually compile the c-runtime using MinGW?
Should be, but someone reported that they had to change the typedef ANTLR3_BOOLEAN. Personally, I would compile it with VS, then just link to the libraries with MingW. The fix to the typedef is on my list though. Jim > > I get lots of errors that look alike, the first ones being: > > make all-am > make[1]: Entering directory `/d/src/libantlr3c-3.1.1' > /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Iinclude > -Iinclude -m32 -O2 -Wall -MT antlr3baserecognizer.lo -MD -MP -MF > .deps/antlr3baserecognizer.Tpo -c -o antlr3baserecognizer.lo `test -f > 'src/antlr3baserecognizer.c' || echo './'`src/antlr3baserecognizer.c > gcc -DHAVE_CONFIG_H -I. -Iinclude -Iinclude -m32 -O2 -Wall -MT > antlr3baserecognizer.lo -MD -MP -MF .deps/antlr3baserecognizer.Tpo -c > src/antlr3baserecognizer.c -DDLL_EXPORT -DPIC -o .libs/antlr3baserecognizer.o > In file included from include/antlr3baserecognizer.h:10, > from src/antlr3baserecognizer.c:9: > include/antlr3defs.h:132: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'ANTLR3_BOOLEAN' > include/antlr3defs.h:178: warning: ignoring #pragma warning > In file included from include/antlr3defs.h:388, > from include/antlr3baserecognizer.h:10, > from src/antlr3baserecognizer.c:9: > include/antlr3convertutf.h:158: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'isLegalUTF8Sequence' > In file included from include/antlr3baserecognizer.h:10, > from src/antlr3baserecognizer.c:9: > include/antlr3defs.h:487: error: expected declaration specifiers or '...' > before 'ANTLR3_BOOLEAN' > In file included from include/antlr3baserecognizer.h:11, > from src/antlr3baserecognizer.c:9: > include/antlr3exception.h:108: error: expected specifier-qualifier-list > before 'ANTLR3_BOOLEAN' > In file included from include/antlr3string.h:11, > from include/antlr3input.h:13, > from include/antlr3baserecognizer.h:12, > from src/antlr3baserecognizer.c:9: > > > TIA > List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
