libxlio icon indicating copy to clipboard operation
libxlio copied to clipboard

issue: 3928407 Remove VLAs

Open pasis opened this issue 10 months ago • 0 comments

TODO Complete removal from sock-redirect.cpp and sockinfo_tcp.cpp

Description

clang-18 generates a warning that VLA is a clang extension.

What

Remove VLAs.

Why ?

Fix clang-18 build.

Change type

What kind of change does this PR introduce?

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [x] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Documentation content changes
  • [ ] Tests
  • [ ] Other

Check list

  • [ ] Code follows the style de facto guidelines of this project
  • [ ] Comments have been inserted in hard to understand places
  • [ ] Documentation has been updated (if necessary)
  • [ ] Test has been added (if possible)

pasis avatar Apr 26 '24 12:04 pasis