From: Keates, Mark (Mark.Keates_at_dendrite.com)
Date: 2003-10-08 16:17:26
OK, I have it now... It relates to the variable name being treated as a macro during preprocessing. With cygwin's gcc the code below is compiled ok with a '-c' flag. With cc65 it gives errors. Regards, Mark #define className(clazz) \ (VERIFY_INSIDE_TEMPORARY_ROOTS, getClassName((CLASS)clazz)) typedef struct filePointerStruct* FILEPOINTER; struct filePointerStruct; FILEPOINTER openClassfile(const char *className); int test(void) { unsigned int i = 0; return i; } P.S. I was scanning the docs and realised my email address is out out date. Can I get it updated? markk_at_dendrite.co.uk has become Mark.Keates_at_dendrite.com ********************************************************************** 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-08 16:31:56 CEST