]> git.hungrycats.org Git - bees/commit
fd: fix VLA for Clang C++17
authorZygo Blaxell <bees@furryterror.org>
Wed, 18 Mar 2026 18:36:33 +0000 (14:36 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 2 May 2026 03:48:58 +0000 (23:48 -0400)
commit515380dfa24ef7d439046d57c005354f47c2cfab
tree0c0cf4dc01b6434b5036f5ddf9269c9627ce93d9
parentee7f7e7e232b251d3274975eb8aac57fbd17ae2e
fd: fix VLA for Clang C++17

Upgrading to -std=c++17 exposed a variable-length array in C++17 that
causes build failure on Clang.

Replace with standard-compliant forms so the normal build works with
both compilers.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
lib/fd.cc