Re: new snapshot available: autoconf-2.72c

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

 



On 3/27/23 10:16, Zack Weinberg wrote:
Compatibility with compilers that reject unprototyped function declarations should maybe get a more prominent NEWS entry.

I gave that a shot by installing the attached.
From 5ffc09fca39de051537fbebd7c6c33d5255a520f Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@xxxxxxxxxxx>
Date: Mon, 27 Mar 2023 18:10:36 -0700
Subject: [PATCH] mention prototypes more prominently in NEWS

* NEWS: Mention the function prototype issue early.
(From a suggestion by Zack Weinberg.)
---
 NEWS | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/NEWS b/NEWS
index cf01ee21..d64648c6 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,14 @@ GNU Autoconf NEWS - User visible changes.
 
 ** Backward incompatibilities
 
+*** AC_CHECK_FUNC and similar macros now use function prototypes.
+  AC_CHECK_FUNC and and similar macros now use C declarations with
+  function prototypes, a feature introduced in C89.  The new approach
+  should work better with C23, which removed the non-prototyped K&R
+  style that AC_CHECK_FUNC previously used.  However, this change
+  means Autoconf no longer supports pre-1989 C compilers, as they do
+  not support function prototypes.
+
 *** Autoconf now requires perl 5.10 (2007) or later.
   Generated 'configure' scripts continue to run without perl.
 
-- 
2.39.2


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

  Powered by Linux