diff --git a/doc/cc65.sgml b/doc/cc65.sgml index c565fd59c..87a7cbe12 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -523,6 +523,27 @@ This cc65 version has some extensions to the ISO C standard. how to use this feature.

+ cc65 implements flexible array struct members as defined in the C99 ISO + standard. As an extension, in non ANSI mode, these fields may be + initialized. There are several exceptions, however (which is probably + the reason why the standard does not define this feature, because it is + highly unorthogonal). Flexible array members cannot be initialized... + + + ...when defining an array of structs with flexible members. + ...if such a struct is a member field of another struct which + is not the last field. + If the struct which contains a flexible array member is + declared as + + Please note that - as defined in the ISO C standard - the +