Hi! On Sun, Jun 19, 2005 at 09:16:22PM +0200, Johan Andersson wrote: > I just tried to build the latest snapshot of CC65 (20050609) using > GCC 4.0 on my Mac running OS X 10.4 (Tiger) and it failed. Are there > any special requirements for building CC65 on OS X? Browsing through > the mailing list archive it appear to have been done earlier. I haven't tried it myself, but this may be caused by problems with unusual memory models (read: problems on 64 bit platforms). There is some old code in the compiler that converts a pointer to an integer, and depending on the platform, this code may fail. However, this is just a guess, there may be other reasons. > _aligned_malloc.c(68): Error: Identifier expected > _aligned_malloc.c(68): Warning: Implicit `int' is an obsolete feature > _aligned_malloc.c(68): Error: `;' expected From _aligned_malloc.c: 67: if (size == 0) { 68: return 0; 69: } The code looks quite ok to me, so this must be a problem with the generated compiler (cc65). I don't own a Mac, so I cannot try it myself. MagerValp seems to own one of these machines. Per, are you listening? :-) Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun, 19 Jun 2005 21:25:47 +0200
This archive was generated by hypermail 2.1.8 : 2005-06-19 21:26:01 CEST