Re: [PATCH v2 2/2] bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER

2023-04-24 Thread Chris Johns
On 24/4/2023 6:42 pm, Sebastian Huber wrote: > On 12.04.23 03:56, chr...@rtems.org wrote: >> From: Chris Johns >> >> - This change avoids the GCC extension of blocks in expressions that >>    ISO forbids and is warned about with the pedantic warnings option. > > This change is an API change and

Re: [PATCH v2 2/2] bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER

2023-04-24 Thread Sebastian Huber
On 12.04.23 03:56, chr...@rtems.org wrote: From: Chris Johns - This change avoids the GCC extension of blocks in expressions that ISO forbids and is warned about with the pedantic warnings option. This change is an API change and broke the build of some BSPs and maybe also applications.

[PATCH v2 2/2] bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER

2023-04-11 Thread chrisj
From: Chris Johns - This change avoids the GCC extension of blocks in expressions that ISO forbids and is warned about with the pedantic warnings option. --- bsps/powerpc/include/libcpu/powerpc-utility.h | 42 ++- .../powerpc/shared/exceptions/ppc_exc_print.c | 25 ++-