> From: Gavin Smith <[email protected]>
> Date: Sat, 22 Oct 2022 21:01:01 +0100
> Cc: [email protected], [email protected]
> 
> If you can confirm that the warnings are gone with the lines
> 
> GL_GNULIB_MDA_FDOPEN=0
> GL_GNULIB_MDA_MKTEMP=0
> GL_GNULIB_MDA_PUTENV=0
> 
> (added in commit 02022a38e48) then we can ask on bug-gnulib if this
> is right and the GL_ prefix should be used now.
> 
> The free redefinition was from the 'free-posix' module that the
> 'vasnprintf' module depends on.  From the Gnulib ChangeLog:
> 
> 2021-03-25  Paul Eggert  <[email protected]>
> 
>         free-posix: use more often in other modules
>         This lets us simplify cleanup code that calls ‘free’.
> 
> I doubt there is much hope of stopping this redefinition from gnulib
> so "#undef free" may be the best solution here.
> 
> Since I only do it after a year or more, I never get any faster at
> tracking down what gnulib modules are responsible.

Maybe using #undef's is in the long run a better alternative?  It will
not require us to chase Gnulib changes in this area, which IME are
quite frequent.

Reply via email to