bug-gnulib
[Top][All Lists]
Advanced

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

[address@hidden: macOS 12.6.3 and vasnprintf compilation failure]


From: G. Branden Robinson
Subject: [address@hidden: macOS 12.6.3 and vasnprintf compilation failure]
Date: Mon, 6 Feb 2023 02:29:59 -0600

[re-sending to correct mailing list]

----- Forwarded message from "G. Branden Robinson" 
<g.branden.robinson@gmail.com> -----

Date: Mon, 6 Feb 2023 02:28:10 -0600
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
To: gnulib@gnu.org
Cc: groff@gnu.org
Subject: macOS 12.6.3 and vasnprintf compilation failure

[please CC groff@ on replies]

Hi folks,

groff recently updated its gnulib submodule[1] and published 1.23.0.rc2;
we're hoping to get a final release out soon.

A problem immediately arose on macOS 12.6.3.  It's our good friend
vasnprintf again.  Logs are available on Savannah[2].

lib/vasnprintf.c:411:16: error: expected parameter declarator
static_assert (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS);
               ^
lib/vasnprintf.c:411:16: error: expected ')'
lib/vasnprintf.c:411:15: note: to match this '('
static_assert (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS);
              ^
lib/vasnprintf.c:411:1: warning: type specifier missing, defaults to 'int' 
[-Wimplicit-int]
static_assert (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS);
^
lib/vasnprintf.c:415:16: error: expected parameter declarator
static_assert (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS);
               ^
lib/vasnprintf.c:415:16: error: expected ')'
lib/vasnprintf.c:415:15: note: to match this '('
static_assert (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS);
              ^
lib/vasnprintf.c:415:1: warning: type specifier missing, defaults to 'int' 
[-Wimplicit-int]
static_assert (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS);
^

This appears to be a distinct issue from one in macOS 10.13.

https://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00056.html

The above output is followed by 14 further warnings howling about the
deprecation of sprintf, but I see that is also being discussed[3], and I
won't gate the groff release on warnings of that nature.

Outright failures, as seen above, though, are a problem.

Any suggestions?

Regards,
Branden

[1] $ git submodule status
 4e9fcc7b84fcac07a3e5a3cd5f66d1ff320dc8e8 gnulib (v0.1-5805-g4e9fcc7b84)
[2] https://savannah.gnu.org/bugs/?63767
[3] https://lists.gnu.org/archive/html/bug-gnulib/2022-11/msg00132.html



----- End forwarded message -----

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]