Sam Price created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5141



## Summary
When compiling kcu105 bsp I get the following error.

```
../../../bsps/microblaze/include/../../shared/dev/clock/clockimpl.h: In 
function 'Clock_isr':
../../../bsps/microblaze/include/../../shared/dev/clock/clockimpl.h:237:38: 
warning: passing argument 1 of 'microblaze_tc_tick' makes pointer from integer 
without a cast [-Wint-conversion]
  237 |       Clock_driver_timecounter_tick( arg );
      |                                      ^~~
      |                                      |
      |                                      Clock_isr_argument {aka unsigned 
int}
../../../bsps/microblaze/microblaze_fpga/clock/clock.c:156:63: note: in 
definition of macro 'Clock_driver_timecounter_tick'
  156 | #define Clock_driver_timecounter_tick(arg) microblaze_tc_tick(arg)
      |                                                               ^~~
../../../bsps/microblaze/microblaze_fpga/clock/clock.c:121:59: note: expected 
'rtems_timecounter_simple *' but argument is of type 'Clock_isr_argument' {aka 
'unsigned int'}
  121 | static void microblaze_tc_tick( rtems_timecounter_simple *tc )
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../../../bsps/microblaze/include/../../shared/dev/clock/clockimpl.h: In 
function '_Clock_Initialize':
../../../bsps/microblaze/include/../../shared/dev/clock/clockimpl.h:254:37: 
warning: passing argument 1 of 'microblaze_clock_handler_install' from 
incompatible pointer type [-Wincompatible-pointer-types]
  254 |   Clock_driver_support_install_isr( Clock_isr );
      |                                     ^~~~~~~~~
      |                                     |
      |                                     void (*)(Clock_isr_argument) {aka 
void (*)(unsigned int)}
../../../bsps/microblaze/microblaze_fpga/clock/clock.c:155:37: note: in 
definition of macro 'Clock_driver_support_install_isr'
  155 |   microblaze_clock_handler_install( isr )
      |                                     ^~~
../../../bsps/microblaze/microblaze_fpga/clock/clock.c:130:71: note: expected 
'rtems_interrupt_handler' {aka 'void (*)(void *)'} but argument is of type 
'void (*)(Clock_isr_argument)' {aka 'void (*)(unsigned int)'}
  130 | static void microblaze_clock_handler_install( rtems_interrupt_handler 
isr )
      |                                               
~~~~~~~~~~~~~~~~~~~~~~~~^~~
```

## Steps to reproduce


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5141
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

Reply via email to