bug-gnulib
[Top][All Lists]
Advanced

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

Re: How to avoid fdopen redefinition?


From: Gavin Smith
Subject: Re: How to avoid fdopen redefinition?
Date: Mon, 1 Mar 2021 18:58:34 +0000

On Mon, Mar 1, 2021 at 4:46 PM Bruno Haible <bruno@clisp.org> wrote:
> > Is there any way of turning this off?
>
> Yes: In your configure.ac, after the invocation of gl_INIT, add an assignment
>
>   GNULIB_MDA_FDOPEN=0
>
> > https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00220.html
> >
> > It says in that message,
> >
> >     Conditionalize each of the Windows oldnames workarounds through a
> > GNULIB_MDA_<func> symbol.
>
> Yes, that's the commit where GNULIB_MDA_FDOPEN was introduced.
>
> > I don't know what MDA means
>
> MDA means "Microsoft deprecated alias". 'fdopen' is POSIX, and after using
> POSIX as the base for some of their APIs for years, they decided to deprecate
> these functions that are in POSIX but not in ISO C++. (They don't care
> about ISO C.)

Thanks for the advice. I've made this change to configure.ac so
hopefully this will fix the problem.



reply via email to

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