]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: ensure VLAs are not used
authorPádraig Brady <P@draigBrady.com>
Mon, 14 Jan 2019 06:11:11 +0000 (22:11 -0800)
committerPádraig Brady <P@draigBrady.com>
Sun, 20 Jan 2019 05:15:01 +0000 (21:15 -0800)
commitd26dece5d86465210ffc2db205eea9140a28591d
tree4cbcc7d85cc5a125334092ee41bf3fd14f444180
parent94fa0aa0d0e2f6a98e1c3086da9d64a1ceba9846
build: ensure VLAs are not used

Fail developer builds if VLAs are used,
as there are portability concerns to consider with them.

* configure.ac: Enable -Wvla which is implicit in the full list added.
* m4/jm-macros.m4: Define GNULIB_NO_VLA which disables use of
VLAs within gnulib code.
configure.ac
m4/jm-macros.m4