AnsweredAssumed Answered

Struct initialisation in Cosmic compiler

Question asked by oakley.jonathan on Dec 2, 2013
Latest reply on Dec 6, 2013 by youssefi.shahbaz
Hi there

I'm currently using the 32k Special EditionCosmic compiler for STM8, version 4.3.11. There seems to be partial support for C99 features, but there doesn't seem to be support for "designated initialisers" (see here for example). I've found these really useful in the past  to ensure that my structures are correctly initialised even if I decide to add or re-order members. Positional initialisation is a bit of a maintenance nightmare, by comparison.

Does anyone know if (a) these are supported in the paid-for version, or (b) might be implemented soon?

Best regards