[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-12 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #10 from Mark Harmstone --- Created attachment 51977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51977=edit corecrt.h >From the file: #ifndef _SIZE_T_DEFINED #define _SIZE_T_DEFINED #undef size_t #ifdef _WIN64

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-11 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #8 from Mark Harmstone --- Created attachment 51976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51976=edit preprocessed source Sorry!

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-11 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #6 from Mark Harmstone --- Created attachment 51973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51973=edit preprocessed source Thanks Andrew, attached. Relevant bits: typedef unsigned int size_t; typedef unsigned int

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #4 from Mark Harmstone --- Thanks, but I mentioned just to illustrate that this isn't purely a hypothetical bug.

[Bug target/103635] size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 --- Comment #2 from Mark Harmstone --- (In reply to Jonathan Wakely from comment #1) > (In reply to Mark Harmstone from comment #0) > > The practical problem this causes is that you can't #include on > > mingw with -mabi=sysv, > > I don't

[Bug c++/103635] New: size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv

2021-12-09 Thread mark at harmstone dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635 Bug ID: 103635 Summary: size_t and uintptr_t have wrong sizes with x86_64-w64-mingw32-g++ -mabi=sysv Product: gcc Version: unknown Status: UNCONFIRMED