RTEMS | bsps/include/grlib/ambapp.h: Fix warning for zero length array use (!593)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Jul 17 20:14:32 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/593

Project:Branches: joel/rtems:fix-indentation-system_stm32h7xx.c to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

bsps/include/grlib/ambapp.h: Fix warning for zero length array use

The use of an array of zero length at the end of a structure is an
extension to the C Programming Language. Added __extension__ to
last element in struct ampapp_dev to resolve warning.


<!-- 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/593
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/20250717/592f5ecf/attachment.htm>


More information about the bugs mailing list