Re: [PATCH] libtest: Fix use of flexible array member

2021-05-02 Thread Sebastian Huber
On 02/05/2021 21:24, Joel Sherrill wrote: On Sun, May 2, 2021, 2:01 PM Sebastian Huber > wrote: Flexible array members must not appear in the middle of a structure. Any idea why this doesn't generate a warning? I thought this restriction is w

Re: [PATCH] libtest: Fix use of flexible array member

2021-05-02 Thread Joel Sherrill
On Sun, May 2, 2021, 2:01 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Flexible array members must not appear in the middle of a structure. > Any idea why this doesn't generate a warning? I thought this restriction is well known. --- > cpukit/include/rtems/test.h

[PATCH] libtest: Fix use of flexible array member

2021-05-02 Thread Sebastian Huber
Flexible array members must not appear in the middle of a structure. --- cpukit/include/rtems/test.h | 18 +--- cpukit/libtest/t-test-thread-switch.c | 24 ++--- testsuites/libtests/ttest02/init.c| 30 +-- 3 files changed, 37 insert