-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Arch: allIssues that apply to all architecturesIssues that apply to all architecturesOS: MacIssues related to MacOS (building system, etc)Issues related to MacOS (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
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
| struct iovec bufs[2 + msg->msg_iovlen]; |
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
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: allIssues that apply to all architecturesIssues that apply to all architecturesOS: MacIssues related to MacOS (building system, etc)Issues related to MacOS (building system, etc)Type: BugSomething isn't workingSomething isn't working