Re: Compiling GDB on Windows using mingw64 toolchain

Jan Vrany
2018-03-06T16:15:04Z

On Tue, 2018-03-06 at 17:57 +0200, Eli Zaretskii wrote:
> >
>
> Doesn't MinGW64 have the wint_t type? Because if it does, that part
> of wchar.in.h should have been bypassed in your build.

I believe it does have it. Following compile just fine:
--
#include <cwchar>
int main(int argc, char **argv) {
::wint_t a;
wint_t b;
return 0;
}
--
C:\msys64\mingw64\bin\x86_64-w64-mingw32-g++ -o wchar.exe wchar.cpp