stdckdint-h: Work around missing declarations with g++ 15.0.

2025-05-19 Thread Collin Funk
Hi Branden, When compiling Groff with GCC/G++ 15.0, I run into this compiler error: CXX src/roff/troff/div.o In file included from src/roff/troff/div.cpp:29: src/roff/troff/hvunits.h: In member function ‘units vunits::to_units()’: src/roff/troff/hvunits.h:91:7: error: ‘ckd_

Re: qemu linux-user limitations

2025-05-19 Thread Bruno Haible via Gnulib discussion list
Andreas Schwab wrote: > This issue is not related to a qemu-user environment. You can call it a > Debian or Ubuntu bug, but not a qenu-user limitation. Often issues in one software package resurface (= become visible for the user) as an issue in another software package. I agree with you that th

Re: re_node_set_alloc relies on malloc(0) returning non-NULL

2025-05-19 Thread arnold
Paul Eggert wrote: > On 2025-05-19 11:56, arn...@skeeve.com wrote: > > Very well. I will deal with it myself. > > How about the following idea for a Gawk patch? This patch allows Gawk to > use Gnulib's regex_internal.c unchanged, by altering pma_malloc to be > compatible with GNU malloc. This s

Re: re_node_set_alloc relies on malloc(0) returning non-NULL

2025-05-19 Thread Paul Eggert
On 2025-05-19 11:56, arn...@skeeve.com wrote: Very well. I will deal with it myself. How about the following idea for a Gawk patch? This patch allows Gawk to use Gnulib's regex_internal.c unchanged, by altering pma_malloc to be compatible with GNU malloc. This should speed up Gawk slightly, b

Re: re_node_set_alloc relies on malloc(0) returning non-NULL

2025-05-19 Thread arnold
Very well. I will deal with it myself. Thanks, Arnold Bruno Haible wrote: > Hi Arnold, > > > This code in regex_internal.c: > > > > - > > static reg_errcode_t > > __attribute_warn_unused_result__ > > re_node_set_alloc (re_node_set *set, Idx size) > > { > >

Re: qemu linux-user limitations

2025-05-19 Thread Andreas Schwab
On Mai 19 2025, Bruno Haible wrote: > Andreas Schwab wrote: >> >> >> > - glibc iconv modules are not installed (on Debian/Ubuntu). >> >> >> >> >> >> How does this have anything to do with qemu? >> >> > >> >> > It's not a bug in qemu itself. >> >> >> >> Thus completely irrelevant. >> > >> > No, i

re_node_set_alloc relies on malloc(0) returning non-NULL

2025-05-19 Thread Aharon Robbins
Hi. This code in regex_internal.c: - static reg_errcode_t __attribute_warn_unused_result__ re_node_set_alloc (re_node_set *set, Idx size) { set->alloc = size; set->nelem = 0; set->elems = re_malloc (Idx, size); if (__glibc_unlikely (set->elems == NULL))

Re: qemu linux-user limitations

2025-05-19 Thread Andreas Schwab
On Mai 19 2025, Bruno Haible wrote: > Andreas Schwab wrote: >> >> > - glibc iconv modules are not installed (on Debian/Ubuntu). >> >> >> >> How does this have anything to do with qemu? >> > >> > It's not a bug in qemu itself. >> >> Thus completely irrelevant. > > No, it's relevant No, it has no

Re: re_node_set_alloc relies on malloc(0) returning non-NULL

2025-05-19 Thread Bruno Haible via Gnulib discussion list
Hi Arnold, > This code in regex_internal.c: > > - > static reg_errcode_t > __attribute_warn_unused_result__ > re_node_set_alloc (re_node_set *set, Idx size) > { > set->alloc = size; > set->nelem = 0; > set->elems = re_malloc (Idx, size); > if (__glibc_u

Re: qemu linux-user limitations

2025-05-19 Thread Bruno Haible via Gnulib discussion list
Andreas Schwab wrote: > >> >> > - glibc iconv modules are not installed (on Debian/Ubuntu). > >> >> > >> >> How does this have anything to do with qemu? > >> > > >> > It's not a bug in qemu itself. > >> > >> Thus completely irrelevant. > > > > No, it's relevant > > No, it has nothing to do with

Re: qemu linux-user limitations

2025-05-19 Thread Bruno Haible via Gnulib discussion list
Andreas Schwab wrote: > >> > - glibc iconv modules are not installed (on Debian/Ubuntu). > >> > >> How does this have anything to do with qemu? > > > > It's not a bug in qemu itself. > > Thus completely irrelevant. No, it's relevant * for m4, because m4 makes indirect use of iconv_open(),

Re: qemu linux-user limitations

2025-05-19 Thread Andreas Schwab
On Mai 19 2025, Bruno Haible wrote: > Andreas Schwab wrote: >> > - glibc iconv modules are not installed (on Debian/Ubuntu). >> >> How does this have anything to do with qemu? > > It's not a bug in qemu itself. Thus completely irrelevant. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fi

Re: qemu linux-user limitations

2025-05-19 Thread Bruno Haible via Gnulib discussion list
Andreas Schwab wrote: > > - glibc iconv modules are not installed (on Debian/Ubuntu). > > How does this have anything to do with qemu? It's not a bug in qemu itself. But it manifests itself as a bug, for all the qemu user-mode users who take their cross environment from the Debian/Ubuntu distro (

Re: Stack overflow check does not work with qemu linux-user emulation

2025-05-19 Thread Andreas Schwab
On Mai 15 2025, Bruno Haible wrote: > - glibc iconv modules are not installed (on Debian/Ubuntu). How does this have anything to do with qemu? -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely

[PATCH] tests: simplify test_exit_status decl

2025-05-19 Thread Paul Eggert
* tests/macros.h (test_exit_status) [!NO_MAIN_HERE]: Declare test_exit_status too, as this is simpler and we might as well check definition vs declaration. --- ChangeLog | 7 +++ tests/macros.h | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog i