Skip to content
New issue

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

warning: variable length array 'txBuffer' is used [-Wvla] #89

Open
drmpf opened this issue Jun 26, 2020 · 0 comments
Open

warning: variable length array 'txBuffer' is used [-Wvla] #89

drmpf opened this issue Jun 26, 2020 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@drmpf
Copy link

drmpf commented Jun 26, 2020

Turning on Full compiler warnings give a number of these types of warnings

..Documents\Arduino\libraries\ArduinoBLE\src\utility\HCI.cpp:472:41: warning: variable length array 'txBuffer' is used [-Wvla]
uint8_t txBuffer[sizeof(pktHdr) + plen];

The problem is there are so many of these that they hide other warnings.
Can they be fixed or suppressed?

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Mar 9, 2021
@per1234 per1234 added the topic: code Related to content of the project itself label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants