Re: Compiling GDB on Windows using mingw64 toolchain

Jan Vrany <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.