Why when [-Werror=pedantic] option is used fsp_version and startup do not compile?

When the compiler flags are set as -Werror=pedantic

the code with FSP 5.5 does not compile. Both the -Werror and -pedantic must be turned off to not get the error or warning.

Can this be corrected or it's just me doing something different?

In file included from Y:/e2_studio/workspace_fsp55/ipsmcu_fsp55/ra/fsp/inc/api/fsp_common_api.h:17,

from Y:/e2_studio/workspace_fsp55/ipsmcu_fsp55/ra/fsp/inc/api/bsp_api.h:15,

from ../ra/fsp/src/bsp/mcu/all/bsp_common.c:11:

Y:/e2_studio/workspace_fsp55/ipsmcu_fsp55/ra/fsp/inc/fsp_version.h:43:38: error: array initialized from parenthesized string constant [-Werror=pedantic]

43 | #define FSP_VERSION_STRING ("5.5.0")

| ^

../ra/fsp/src/bsp/mcu/all/bsp_common.c:81:5: note: in expansion of macro 'FSP_VERSION_STRING'

81 | FSP_VERSION_STRING;

| ^~~~~~~~~~~~~~~~~~

Y:/e2_studio/workspace_fsp55/ipsmcu_fsp55/ra/fsp/inc/fsp_version.h:46:38: error: array initialized from parenthesized string constant [-Werror=pedantic]

46 | #define FSP_VERSION_BUILD_STRING ("Built with Renesas Advanced Flexible Software Package version 5.5.0")

| ^

../ra/fsp/src/bsp/mcu/all/bsp_common.c:85:5: note: in expansion of macro 'FSP_VERSION_BUILD_STRING'

85 | FSP_VERSION_BUILD_STRING;

| ^~~~~~~~~~~~~~~~~~~~~~~~

cc1.exe: all warnings being treated as errors

make: *** [ra/fsp/src/bsp/mcu/all/subdir.mk:61: ra/fsp/src/bsp/mcu/all/bsp_common.o] Error 1

../ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/startup.c:119:5: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic]

119 | (exc_ptr_t) (&g_main_stack[0] + BSP_CFG_STACK_MAIN_BYTES), /* Initial Stack Pointer */

| ^

cc1.exe: all warnings being treated as errors

make: *** [ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/subdir.mk:28: ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/startup.o] Error 1

make: *** Waiting for unfinished jobs....

"make -r -j8 all" terminated with exit code 2. Build might be incomplete.