Re: [PATCH 2/2] sptests/spstdc17: New test

2022-07-27 Thread Sebastian Huber
Hello, On 25/07/2022 10:02, Sebastian Huber wrote: +cflags: +- -std=c17 +- -pedantic +- -Wextra this test case causes build issue on several BSPs, because the is not C17 compatible. Example error: bsps/arm/beagle/include/bsp.h:298:5: error: 'asm' undeclared (first use in this function)

Re: [PATCH 2/2] sptests/spstdc17: New test

2022-07-25 Thread Sebastian Huber
On 25/07/2022 16:00, Joel Sherrill wrote: This is OK but from what I see in applications, C99 is the version actually in use. C17 is the default version of GCC 10 and 12. Threads are undefined in C99. Why would someone use such an old standard with RTEMS? Anyway, if you think it is important

Re: [PATCH 2/2] sptests/spstdc17: New test

2022-07-25 Thread Joel Sherrill
This is OK but from what I see in applications, C99 is the version actually in use. The avionics community I work with hasn't even adopted C11. Even C++11/14 are just now getting some traction. --joel On Mon, Jul 25, 2022 at 3:03 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote:

[PATCH 2/2] sptests/spstdc17: New test

2022-07-25 Thread Sebastian Huber
--- spec/build/testsuites/sptests/grp.yml | 2 + spec/build/testsuites/sptests/spstdc17.yml | 22 + testsuites/sptests/spstdc17/init.c | 57 ++ testsuites/sptests/spstdc17/spstdc17.doc | 12 + 4 files changed, 93 insertions(+) create mode 100644