Joel Sherrill created an issue:
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5272
Assignee: Joel Sherrill
## Summary
The mips/hurricane BSP has a compile error with GCC 14.
```
[ 89/4370] Compiling bsps/mips/hurricane/clock/ckinit.c
../../../bsps/mips/hurricane/clock/ckinit.c: In function '_Clock_Initialize':
../../../bsps/mips/hurricane/clock/ckinit.c:203:18: error: passing argument 1
of 'Install_clock' from incompatible pointer type [-Wincompatible-pointer-types]
203 | Install_clock( Clock_isr );
| ^~~~~~~~~
| |
| rtems_isr (*)(rtems_vector_number) {aka void
(*)(unsigned int)}
../../../bsps/mips/hurricane/clock/ckinit.c:144:19: note: expected
'rtems_isr_entry' {aka 'void (*)(void *)'} but argument is of type 'rtems_isr
(*)(rtems_vector_number)' {aka 'void (*)(unsigned int)'}
144 | rtems_isr_entry clock_isr
| ~~~~~~~~~~~~~~~~^~~~~~~~~
```
Initially, I thought this would require a signature change on the _Clock_isr_
function to match the expected ISR handler signature. Tracking back to the
typedef, it was just a void * so the fix was to add a cast.
### Pre-set options
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5272
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs