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

Joel Sherrill (@joel) gitlab at rtems.org
Fri Jul 4 15:23:49 UTC 2025



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

Project:Branches: joel/rtems:fix-ampapp.h-warning 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/559
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/20250704/121e83a9/attachment.htm>


More information about the bugs mailing list