Improve VLA wording in NEWS

Thanks to a suggestion by Werner Lemberg in:
https://lists.gnu.org/r/autoconf/2024-04/msg00009.html
This commit is contained in:
Paul Eggert 2024-04-30 11:48:31 -07:00
parent 76ac2c1d73
commit 02f232c671

10
NEWS
View File

@ -10,11 +10,11 @@ GNU Autoconf NEWS - User visible changes.
alignas, alignof, bool, constexpr, false, nullptr, static_assert,
thread_local, typeof, typeof_unqual, true.
*** AC_PROG_CC no longer tests for VLAs, or whether __STDC__ is defined.
This ports better to MSVC, which does not support variable length
arrays and does not define __STDC__. Although C99 requires VLAs,
they are optional in C11 and later. Programs can use AC_C_VARARRAYS
and __STDC_NO_VLA__ to use VLAs if available.
*** AC_PROG_CC no longer checks __STDC__ or variable length arrays (VLAs).
This ports better to MSVC, which does not define __STDC__ and does
not support VLAs. Although C99 requires VLAs, they are optional in
C11 and later. Programs can use AC_C_VARARRAYS and __STDC_NO_VLA__
to use VLAs if available.
* Noteworthy changes in release 2.72 (2023-12-22) [release]