Re: [RFC,PATCH] Do not GC_INIT the Boehm GC if already initialized

2023-02-20 Thread Ludovic Courtès
Hi Maxime, Maxime Devos skribis: >> [RFC,PATCH] Do not GC_INIT the Boehm GC if already initialized > On 06-02-2023 19:34, Jose E. Marchesi wrote: >> Hello Guile hackers. >> We are in the process of integrating GNU poke[1] in GDB by mean of >> libpoke. >> Problem is, libpoke uses the Boehm GC, as

Re: [PATCH 0/3] Add '-Wunused-module'

2023-02-20 Thread Ludovic Courtès
Hey janneke! Jan Nieuwenhuizen skribis: > Ludovic Courtès writes: > > Hello, > >> The new ‘-Wunused-module’ warning is enabled at ‘-W2’ only. The main >> reason for not enabling it at ‘-W1’ is that in the case of modules used >> at macro-expansion time only, such as (srfi srfi-26), it cannot >>

Re: [RFC,PATCH] Do not GC_INIT the Boehm GC if already initialized

2023-02-20 Thread Maxime Devos
On 20-02-2023 11:06, Ludovic Courtès wrote: [...] The “Multiple invocations” bit isn’t in libgc 8.0.4. Which version are you looking at? Commit 151b49a5302eea89ffd9efd9cdb82b75ac4f5d35 (include/gc/gc.h). Looking at the changelog, that part is there since at least 8.0.6: [...] * Refine GC_IN

Re: [RFC,PATCH] Do not GC_INIT the Boehm GC if already initialized

2023-02-20 Thread Hans Åberg
> On 20 Feb 2023, at 11:06, Ludovic Courtès wrote: > >> According to the Boehm GC documentation, this 'conditional >> initialisation' is unnecessary: >> >> /* Portable clients should call this at the program start-up. More */ >> /* over, some platforms require this call to be done strictly