We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it seems that we use variable length array (VLA) here and there. eg.
nuttx/net/usrsock/usrsock_sendmsg.c
Line 145 in 118f827
VLA is a C99 feature and should not be used in the common part of the OS. i guess it's better to add -Wvla there.
-Wvla
[OS: Mac]
macOS 15.2
master
[Arch: all]
[Area: Other]
The text was updated successfully, but these errors were encountered:
another example of VLA:
nuttx/libs/libc/stdio/lib_libvsprintf.c
Line 1348 in 118f827
Sorry, something went wrong.
nuttx/mm/tlsf/mm_tlsf.c
Line 1051 in 118f827
MEMPOOL_NPOOLS
No branches or pull requests
Description / Steps to reproduce the issue
it seems that we use variable length array (VLA) here and there.
eg.
nuttx/net/usrsock/usrsock_sendmsg.c
Line 145 in 118f827
VLA is a C99 feature and should not be used in the common part of the OS. i guess it's better to add
-Wvla
there.On which OS does this issue occur?
[OS: Mac]
What is the version of your OS?
macOS 15.2
NuttX Version
master
Issue Architecture
[Arch: all]
Issue Area
[Area: Other]
Verification
The text was updated successfully, but these errors were encountered: