Re: Request to revert the C version change

2020-12-16 Thread Todd C. Miller
On Wed, 16 Dec 2020 17:04:31 +, Ross Burton wrote: > All through the 2.70 prelease cycle I was periodically running builds > of OpenEmbedded with the snapshots as they were released. As we > autoreconf by default this was great at shaking out some bugs in both > packages and autoconf itself.

Re: Request to revert the C version change

2020-12-16 Thread Todd C. Miller
On Wed, 16 Dec 2020 14:48:19 -0600, Bob Friesenhahn wrote: > On Wed, 16 Dec 2020, Todd C. Miller wrote: > > > > Perhaps you are hitting this bug that breaks C99 flag detection? > >https://savannah.gnu.org/support/?110396 > > What are the impacts of that? The i

Re: AC_PROG_CC: how to distinguish clnag from gcc?

2021-02-05 Thread Todd C. Miller
On Fri, 05 Feb 2021 15:42:28 +0100, =?utf-8?Q?S=C3=A9bastien?= Hinderer wrote: > It seems AC_PROG_CC wrongly believes clang is gcc and that may cause problems > when clang is passed a warning which is only supposrted by gcc, as is > the case e.g. for -Wno-stringop-truncation. clang also defines _

Re: config.sub/config.guess using nonportable $(...) substitutions

2021-03-09 Thread Todd C. Miller
On Tue, 09 Mar 2021 14:11:36 -0700, Warren Young wrote: > That’s the real trick, isn’t it? We have to set *some* threshold for droppin > g support for old platforms. I expect Autoconf isn’t compatible with Ultrix > any more, for instance. That's a good reminder that we've been here before. I

Re: AC_PROG_LEX issue when compiling with -Werror

2022-07-14 Thread Todd C. Miller
On Thu, 14 Jul 2022 12:03:42 +0200, Tobias Brunner wrote: > This is caused by the following warnings turned errors from the > generated lexer: > > lex.yy.c:673:13: error: misleading indentation; statement is not part of > the previous 'if' [-Werror,-Wmisleading-indentation] > if ( !

Re: AC_PROG_LEX issue when compiling with -Werror

2022-07-14 Thread Todd C. Miller
Sorry, I missed the fact that you are trying to build on FreeBSD, not develop FreeBSD itself. Still, I'd suggest filing a bug with FreeBSD to fix their flex.skl. - todd

AC_CHECK_HEADER_STDBOOL regression with trunk autoconf

2022-11-16 Thread Todd C. Miller
Commit 6dcecb780a69bd208088d666b299e92aa7ae7e80 "Port AC_CHECK_HEADER_STDBOOL to C23" causes AC_CHECK_HEADER_STDBOOL to fail even on systems with a conforming stdbool.h. There is no longer an 'a' variable so it should not be referenced in the return statement. - todd diff --git a/lib/autoconf/h

[PATCH] fix AC_CHECK_HEADER_STDBOOL regression

2022-12-26 Thread Todd C. Miller
[Resending since this appears to have gotten lost]. Commit 6dcecb780a69bd208088d666b299e92aa7ae7e80 "Port AC_CHECK_HEADER_STDBOOL to C23" causes AC_CHECK_HEADER_STDBOOL to always fail, even on systems with a conforming stdbool.h. There is no longer an 'a' variable so it should not be referenced i