Re: [cc65] new to list

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2008-10-09 16:58:47
On Thu, Oct 09, 2008 at 09:45:14AM -0500, Larson, Timothy E. wrote:
> NetBSD uses gcc, so I remember being surprised that cc65 would build on
> Linux without problems but wouldn't on my NetBSD box.

It's not the compiler but the header files, that cause the problem. Reviewing
the cc65 header file shows that it isn't perfect either. Is it possible that
you try the following patch and tell me if at least the error message "The
compiler is broken" goes away?

---------------------------------------------------------------------------
Index: va_copy.h
===================================================================
--- va_copy.h   (revision 3893)
+++ va_copy.h   (working copy)
@@ -39,7 +39,7 @@


 /* No action if we're using a C99 compiler */
-#if (__STDC_VERSION__ < 199901)
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ < 199901)



---------------------------------------------------------------------------

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 Thu Oct 9 17:00:52 2008

This archive was generated by hypermail 2.1.8 : 2008-10-09 17:00:54 CEST