From: Keates, Mark (Mark.Keates_at_dendrite.com)
Date: 2003-10-07 19:11:36
Hi, I'm getting this error when doing a build using the CC65 v2.9.2 win32 installer: ... obj/cache.o ../../../kvm/VmCommon/h/loader.h(63): Error: Illegal macro call ../../../kvm/VmCommon/h/loader.h(64): Error: `)' expected ../../../kvm/VmCommon/h/loader.h(64): Error: `{' expected ../../../kvm/VmCommon/h/loader.h(64): Warning: Function call without a prototype ../../../kvm/VmCommon/h/loader.h(64): Error: Expression expected ../../../kvm/VmCommon/h/loader.h(64): Error: `)' expected ../../../kvm/VmCommon/h/loader.h(64): Error: `;' expected ../../../kvm/VmCommon/h/loader.h(64): Error: Expression expected ../../../kvm/VmCommon/h/loader.h(64): Error: `;' expected ../../../kvm/VmCommon/h/loader.h(64): Error: Expression expected ../../../kvm/VmCommon/h/loader.h(64): Error: `;' expected ../../../kvm/VmCommon/h/loader.h(64): Error: Expression expected ../../../kvm/VmCommon/h/loader.h(64): Fatal: Too many errors (yep, its that KVM :-) If I cut the relevant sections of code out into a test header file, it compiles without errors? E.g. typedef struct filePointerStruct* FILEPOINTER; struct filePointerStruct; FILEPOINTER openClassfile(const char *className); /* line 63 */ FILEPOINTER openResourcefile(const char *resourceName); /* line 64 */ void closeClassfile(FILEPOINTER); The typedef comes from another header file included first (global.h, which itself includes loader.h) Any ideas on what else I should look for? Thanks, Mark ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-10-07 19:17:19 CEST