This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling GDB on Windows using mingw64 toolchain


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]