Re: [cc65] flexible arrays, enum & bool...

Date view Thread view Subject view

From: Christian Krüger (christian.krueger_at_pace.de)
Date: 2003-08-25 12:26:40


> The mistake is that you didn't read the announcement:-)

Uppps. Sorry - I've read that before, but didn't thought that
you work on different version at the same time. Any schedule
for the 'roll-out' of the mentioned feature? 

>   1. I have enough other things to add

Which I cannot believe... ;-)
 
>   2. There's a very simple workaround:
> 
>         enum {
>             foo,
>             bar,
>             faz
>         };
>         typedef unsigned char foobar_t;
>         foobar_t e = foo;

Ok, but that subverts the type-safeness I like to have.
I can assign with ease 'e' every uchar I like... :-(
Any other suggestions?
 
> Just include <stdbool.h>.

I'll check that. Thanks.

> And no, I don't have any spare time:-)

I gladly give you some of mine, but unfortunately my supply
was used up long ago... ;-)

Thanks for the quick response,
chrisker
----------------------------------------------------------------------
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-08-25 12:28:23 CEST