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
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!
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
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.
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
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