Re: [PATCH] fixincludes breaks mingw64 build

2019-06-11 Thread Bruce Korb
On 5/31/19 6:35 AM, Jonas Jelten wrote: > This code snippet of mingw's stdio.h: > > > #ifdef _WIN64 > _CRTIMP FILE *__cdecl __iob_func(void); > #define _iob __iob_func() > #else > [.] > #if (!defined(NO_OLDNAMES) || defined(__GNUC__)) > __MINGW_EXTENSION typedef __int64 fpos_t; >

[PATCH] fixincludes breaks mingw64 build

2019-05-31 Thread Jonas Jelten
Hi! I'm trying to build the x86_64-w64-mingw64 crosscompiler on gentoo. It breaks because a fixincludes-fix is applied at a place where it should not be applied. This broke the cross-gcc build for gcc-8.3.0 and 9.1.0 with error messages that made it tricky to figure out what was really going