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

+#define T_ZERO_LENGH_ARRAY_EXTENSION(n) ((n) - 1)
+#endif
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to