[Mingw-w64-public] ID2D1HwndRenderTarget_GetSize() SIGSERV with gcc 9.2

2019-11-22 Thread Arthur Girardi
Hello, I'm building the WIC Viewer using Direct2D[1] sample from Microsoft, converted to C, and I'm getting some strange SIGSERV at the function ID2D1HwndRenderTarget_GetSize(m_pRT) when the program is compiled with gcc 9.x on a x86_64 system. No problem occurs when compiled with any gcc 8.x x86_

Re: [Mingw-w64-public] Building binutils with gcc 9.2.0

2019-11-22 Thread Kacvinsky, Tom
> -Original Message- > From: LRN > Sent: Friday, November 22, 2019 11:35 AM > To: mingw-w64-public@lists.sourceforge.net > Subject: Re: [Mingw-w64-public] Building binutils with gcc 9.2.0 > > On 22.11.2019 19:22, Kacvinsky, Tom wrote: > > I am seeing this while building bintutils 2.33.

Re: [Mingw-w64-public] Building binutils with gcc 9.2.0

2019-11-22 Thread LRN
On 22.11.2019 19:22, Kacvinsky, Tom wrote: > I am seeing this while building bintutils 2.33.1 with gcc 9.2.0 that comes > with the wingw-w64-i686-toolchain > supplied compilers: > > ../../../libiberty/pex-unix.c:395:20: error: 'FD_CLOEXEC' undeclared (first > use in this function) > 395 |

[Mingw-w64-public] Building binutils with gcc 9.2.0

2019-11-22 Thread Kacvinsky, Tom
I am seeing this while building bintutils 2.33.1 with gcc 9.2.0 that comes with the wingw-w64-i686-toolchain supplied compilers: ../../../libiberty/pex-unix.c:395:20: error: 'FD_CLOEXEC' undeclared (first use in this function) 395 | if ((flags & FD_CLOEXEC) == 0 && fcntl (old_fd, F_SETFD

Re: [Mingw-w64-public] [PATCH] headers: Avoid c99 style comments in headers

2019-11-22 Thread Martin Storsjö
On Fri, 22 Nov 2019, Liu Hao wrote: 在 2019/11/22 4:01, Martin Storsjö 写道: These headers may be included in code that only allows strict C90 style comments. Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/conio.h | 4 ++-- mingw-w64-headers/crt/corecrt.h | 2 +- ming