Skip to content

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

Description

@drmpf

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];

uint8_t txBuffer[sizeof(pktHdr) + plen];

These warnings from the library make it difficult for the library user to monitor the compilation output for important warnings for problems in their own code.

Please fix or suppress these warnings if possible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions