Michal Lenc created a merge request:
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1251
Project:Branches: michallenc/rtems:beaglebone-black-fixes to
rtems/rtos/rtems:main
Author: Michal Lenc
## Summary
Fixes the following compilation error:
```
Waf: Entering directory `/path/to/rtems/build/arm/beagleboneblack'
[ 10/1556] Compiling bsps/shared/dev/gpio/gpio-support.c
../../../bsps/shared/dev/gpio/gpio-support.c: In function 'generic_bank_isr':
../../../bsps/shared/dev/gpio/gpio-support.c:223:3: error: implicit declaration
of function 'assert' [-Wimplicit-function-declaration]
223 | assert ( bank_number < GPIO_BANK_COUNT );
| ^~~~~~
../../../bsps/shared/dev/gpio/gpio-support.c:25:1: note: 'assert' is defined in
header '<assert.h>'; this is probably fixable by adding '#include <assert.h>'
24 | #include <stdlib.h>
+++ |+#include <assert.h>
25 |
../../../bsps/shared/dev/gpio/gpio-support.c:223:3: error: nested extern
declaration of 'assert' [-Werror=nested-externs]
223 | assert ( bank_number < GPIO_BANK_COUNT );
| ^~~~~~
cc1: all warnings being treated as errors
```
## Generative AI
<!-- If you have used AI please use the "AI Contribution" template otherwise
leave this blank see our fulls statement at
https://www.rtems.org/generative-ai/-->
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab:
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1251
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