Re: 24bit ints (was: [cc65] 24bit addresses)

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-06-18 12:05:15


Hi!

On Wed, Jun 18, 2003 at 11:50:43AM +0200, Christian Groessler wrote:
> Hmm, but this is the "new" standard. Is there a similar section in the old
> one (from 89)?

The old standard is identical in this respect. Changing something in such an
important area would cause lots of problems for old software.

> Since cc65 currently doesn't support C99, it should/could follow the old
> standard.
> Or is C99 support in the works? :-)

C99 support is definitely in the works. cc65 will never support the full C99
standard, because it requires things that are absolutely overtuned for an 8
bit system (like the "long long" data type with at least 64 bits, the complex
data type and so on). But there are lots of features in the current version
that are actually C99 and not C89:

    - // style comments

    - Open arrays

    - Several header files: iso646.h, stdbool.h, stdint.h, ...

    - The _Pragma operator, __func__ reserved identifier, ...

    - Some additional functions: isblank, ...

    - ...

Some more stuff will come over time. For example, the existing _printf
implentation was designed with vsnprintf and friends in mind, so adding them
is easy.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-06-18 12:05:23 CEST