Re: Compilations warnings-as-errors when building from git

2022-01-15 Thread Bruno Haible
> > warning: unknown warning option '-Wno-unsuffixed-float-constants' > > [-Wunknown-warning-option] > > > > > > Which, I see was removed from gnulib in 2011, > > and reinstated just now in > > https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=0c8a563f65d44752b33aec42cceec25bd485f2d5 > >

Re: conditional "LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH" was never defined.

2022-01-15 Thread Gavin Smith
On Fri, Jan 14, 2022 at 11:24:57PM +0100, Bruno Haible wrote: > The following patch fixes it. The cause is that texinfo is using the > gnulib-tool option --conditional-dependencies, and a couple of days > ago I made this option more effective. > > > 2022-01-14 Bruno Haible > > Avoid err

log tests: Avoid test failure with nvc 22.1

2022-01-15 Thread Bruno Haible
With nvc 22.1, I observe a test failure: FAIL: test-log == ../../gltests/test-log.h:68: assertion 'err > - err_bound / TWO_MANT_DIG && err < err_bound / TWO_MANT_DIG' failed This patch works around it, by allowing a slightly larger error bound. 2022-01-15 Bruno Haible

havelib: Recognize ELF platform despite nvc 22.1

2022-01-15 Thread Bruno Haible
With nvc 22.1 on Linux, the configure test "checking for ELF binary format..." reports "no". This patch fixes it. 2022-01-15 Bruno Haible havelib: Recognize ELF platform despite nvc 22.1. * m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): Recognize Linux as an ELF platfor

Compilations warnings-as-errors when building from git

2022-01-15 Thread Paul Eggert
In Assaf Gordon writes: I'm getting few warnings-as-errors when building the latest version from git (using Debian 10 amd64 with gcc 8.3.0). I wouldn't worry about these. We typically don't bother to pacify older GCC versions as they

Re: oset-c++: Avoid compilation error with nvc++ 22.1

2022-01-15 Thread Paul Eggert
On 1/15/22 10:52, Bruno Haible wrote: Note that the compiler defines both __EDG__ and __PGIC__. The former apparently describes the C++ frontend, the latter the code generation phase. Ouch. It's possible that some (but not all?) occurrences of __EDG__ in intprops.h should actually be __PGIC__.

oset-c++: Avoid compilation error with nvc++ 22.1

2022-01-15 Thread Bruno Haible
With the nvc and nvc++ compilers, I get this compilation error: nvc++ -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gltests/../gllib -I/home/bruno/prefix-nvc/include -Wall -g

Re: [bug-diffutils] bug#53256: Compiling 3.8 with nvhpc 22.1 : malloca.c 64 bits operations with signed and unsigned operands are currently unsupported by __builtin_add_overflow

2022-01-15 Thread Olivier Cessenat
Hello again, Sorry for the noise but I failed to apply the patch to 3.8 both for ChangeLog and lib/intprops.h Could you make sure it works for 3.8 ? Thanks Le 15/01/2022 à 09:35, Olivier Cessenat a écrit : Thanks so much ! It's great. I will try to report the bug to NVIDIA, but that will b

Re: [bug-diffutils] bug#53256: Compiling 3.8 with nvhpc 22.1 : malloca.c 64 bits operations with signed and unsigned operands are currently unsupported by __builtin_add_overflow

2022-01-15 Thread Jeffrey Walton
On Fri, Jan 14, 2022 at 10:53 PM Paul Eggert wrote: > ... > Thanks for the bug report. Although nvc 22.1 defines __GNUC__ to be 11 > which means it supports GNU C as of GCC 11, that's obviously untrue for > __builtin_add_overflow. That's unfortunate. Perhaps you could report > this as a bug to NVI

Re: [bug-diffutils] bug#53256: Compiling 3.8 with nvhpc 22.1 : malloca.c 64 bits operations with signed and unsigned operands are currently unsupported by __builtin_add_overflow

2022-01-15 Thread Olivier Cessenat
Thanks so much ! It's great. I will try to report the bug to NVIDIA, but that will be with my words, I do not have the full understanding of the problem. Olivier Cessenat Le 15/01/2022 à 04:53, Paul Eggert a écrit : On 1/14/22 03:33, Olivier Cessenat wrote: "diffutils-3.8/lib/malloca.c", lin