On Mon, Aug 10, 2020 at 4:04 AM Sebastian Huber <sebastian.hu...@embedded-brains.de> wrote: > > > On 10/08/2020 12:01, Sebastian Huber wrote: > > +#if defined(__GNUC__) || __STDC_VERSION__ >= 199409L > > +#define T_ZERO_LENGH_ARRAY > > +#define T_ZERO_LENGH_ARRAY_EXTENSION(n) (n) > > +#else > > +#define T_ZERO_LENGH_ARRAY 0 > This should be > > #define T_ZERO_LENGH_ARRAY 1 > typo: LENGTH?
> > +#define T_ZERO_LENGH_ARRAY_EXTENSION(n) ((n) - 1) > > +#endif > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel