RTEMS | Multiple PowerPC BSPs tm27.h Fails to Compile with GCC 14 (#5266)

Joel Sherrill (@joel) gitlab at rtems.org
Tue Jun 10 21:55:30 UTC 2025



Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5266

Assignee: Joel Sherrill

## Summary
Using GCC 13, this warning is generated for every BSP variant in a handful of PowerPC BSP families:

```
In file included from ../../../testsuites/validation/tx-call-within-isr.c:55:
../../../bsps/powerpc/psim/include/tm27.h:33:47: warning: initialization of 'void (*)(const struct __rtems_irq_connect_data__ *)' from incompatible pointer type 'int (*)(const struct __rtems_irq_connect_data__ *)' [-Wincompatible-pointer-types]
   33 |                                               (rtems_irq_is_enabled) nullFunc};
      |                                               ^
../../../bsps/powerpc/psim/include/tm27.h:33:47: note: (near initialization for 'clockIrqData.off')
```

This warning turned into an error with GCC 14 and later.

## Steps to reproduce

Compile with the "next" tools.

### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5266
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250610/1d713259/attachment.htm>


More information about the bugs mailing list