Re: Making MSVC/clang-cl succeed AC_PROG_CC C11 discovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the suggestion; I installed the attached. Part of the idea is for the first line to be a complete summary.
From 02f232c67156da2d353c986fd77d408db5084f79 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@xxxxxxxxxxx>
Date: Tue, 30 Apr 2024 11:48:31 -0700
Subject: [PATCH] Improve VLA wording in NEWS

Thanks to a suggestion by Werner Lemberg in:
https://lists.gnu.org/r/autoconf/2024-04/msg00009.html
---
 NEWS | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/NEWS b/NEWS
index 60c6dcdd..be7cb8ca 100644
--- a/NEWS
+++ b/NEWS
@@ -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]
 
-- 
2.40.1


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux