]> git.ipfire.org Git - thirdparty/glibc.git/commit
dirent: Remove variable length array structure for tst-getdents64.c
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 25 Mar 2022 12:03:03 +0000 (09:03 -0300)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Dec 2024 05:06:02 +0000 (13:06 +0800)
commit799e686c88f96ec418a01917bc236efd3ed0eb18
treeaa4bb8359ceacccbb1cd29e713b7763110a934e8
parent494eb254c37507e836b5c791a3dbd8552777ddf7
dirent: Remove variable length array structure for tst-getdents64.c

Clang emits the following warnings:

  ../sysdeps/unix/sysv/linux/tst-getdents64.c:111:18: error: fields must
  have a constant size: 'variable length array in structure' extension
  will never be supported
              char buffer[buffer_size];
                   ^

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
sysdeps/unix/sysv/linux/tst-getdents64.c