Re: [cc65] Struct embedded enum

Date view Thread view Subject view

From: Spiro Trikaliotis (trik-news_at_gmx.de)
Date: 2003-10-09 20:35:31


Hello Uz,

On Thu, Oct 09, 2003 at 08:12:34PM +0200, Ullrich von Bassewitz wrote:

> C is rather inconsequent in regard to scoping. While struct members are local
> to the struct, other structs and enums are not. This means that
[...]
> cc65 is wrong when it comes to enums, it will add the enum tags to the local
> scope of the struct, which is the way it is handled in most other languages.
> I'm going to fix this, in the meantime, you may use
[...]

Hm, well... If you will fix it, could you please optionally enable the
current behaviour? IMHO, everyone familiar with C++ will like this idea. :-)

Spiro.
----------------------------------------------------------------------
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-10-09 20:37:49 CEST