bug-gnulib
[Top][All Lists]
Advanced

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

Re: recent gnulib has problems with read, write and close within structs


From: Joël Krähemann
Subject: Re: recent gnulib has problems with read, write and close within structs
Date: Mon, 14 Sep 2020 18:19:15 +0200

How can I fix it in my code? My mingw32 compiler is

$ x86_64-w64-mingw32-gcc --version
x86_64-w64-mingw32-gcc (GCC) 10-posix 20200525
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

On Mon, Sep 14, 2020 at 6:15 PM Bruno Haible <bruno@clisp.org> wrote:
>
> Joël Krähemann wrote:
> > I would be interested in why it was working prior?
>
> Prior, Gnulib did '#define write rpl_write' only when
>   - the Gnulib module 'write' was in use, either directly or indirectly,
>   - and the platform's write() needs a workaround [1].
>
> Now, we're doing '#define write _write' (on native Windows) unconditionally 
> [2],
> as part of the support of clang on Windows.
>
> Bruno
>
> [1] https://www.gnu.org/software/gnulib/manual/html_node/write.html
> [2] https://lists.gnu.org/archive/html/bug-gnulib/2020-08/msg00109.html
>



reply via email to

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