[cc65] Re: Problem with generating o65 files

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-01-21 20:15:38
Hello Uz,

* On Fri, Jan 21, 2005 at 02:21:47PM +0100 Ullrich von Bassewitz wrote:
 
> No, it's a bug in ca65. A unary plus should of course be allowed.

Ok. Your patch works as expected. Now, my simple example runs from the
start to the end. :)

 
> > ld65-5.html#ss5.8 does not mention if other OS versions than
> > Lunix are supported. http://www.6502.org/users/andre/o65/fileformat.html
> > mentions the OSA/65 header supplement, and you told me that there is a
> > version for cc65 use.
> 
> Version of what?

I mean the "OS version" of the (x)o65 file format. André's page
describes two types (OSA/65, Lunix), and I know from the conversation
with you that there is a third, official one, cc65-module.

BTW: Would cc65-module be a suitable "OS version" for my work, or should
I go and try to "register" another one?

 
> This means that the compiler is not conforming to the ISO C99
> standard, which states that __STDC_VERSION__ must be a predefined
> macro.

Ok, I did not know this.

> The problem why the code doesn't work is probably that the compiler
> doesn't define __STDC_VERSION__, but seems to include stdint.h (which
> is a header file new in C99) somewhere, so there are name collisions.

Yes, this is what I deduced myself, too.


> BTW: cc65 doesn't define __STDC_VERSION__ either, but the case is somewhat
> different ...

Well, don't you support C99? (just kidding)

Thank you again,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 21 20:15:57 2005

This archive was generated by hypermail 2.1.8 : 2005-01-21 20:16:07 CET