Re: new snapshot available: autoconf-2.72c

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.general
Organization UCLA Computer Science Department
Message-ID <[email protected]>
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.
0001-mention-prototypes-more-prominently-in-NEWS.patch (text/x-patch, 1.1 KB)
From 5ffc09fca39de051537fbebd7c6c33d5255a520f Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.