From: Christian Krüger (christian.krueger_at_pace.de)
Date: 2003-01-22 23:37:22
Hi again, today I've tried to compile something like this: --8<------------------- typedef struct { unsigned char width; unsigned char height; unsigned char data[]; } TestStruct; --8<------------------- ...and get a friendly error: Error: Size of data type is unknown Which I understand - of course.. ;-) ..but I like to have 'clean' access to known parameters and fast access without indirection to 'unknown' sized data. So I like to put the following on the wish list: Unsized Arrays in Structures (For a more detailed description look here: "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/ht m/class_6.asp") Ok, ok it's a Microsoft specific extension ("Jehova, Jehova!"), but I find usefull anyway (especially on 'weak' platforms like the 6502) - and I think it could/should be disabled in strict ANSI mode anyhow... Somebody with me? chrisker ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-01-22 23:37:51 CET