https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635
--- Comment #12 from Jonathan Wakely ---
Arguably sysv ABI on Windows is a distinct target, and you need to provide your
own libc for it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103635
Andrew Pinski changed:
What|Removed |Added
Status|WAITING |UNCONFIRMED
Ever confirmed|1
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 #9 from Andrew Pinski ---
(In reply to Mark Harmstone from comment #8)
> Created attachment 51976 [details]
> preprocessed source
Can you attach /usr/x86_64-w64-mingw32/usr/include/corecrt.h ?
because I suspect it is bug there:
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 #7 from Andrew Pinski ---
(In reply to Mark Harmstone from comment #6)
> Created attachment 51973 [details]
> preprocessed source
>
> Thanks Andrew, attached.
>
> Relevant bits:
> typedef unsigned int size_t;
> typedef unsigned
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
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
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 #3 from Jonathan Wakely ---
There's an explicit instantiation declaration at the end of the header, which
means the entire thing is externally defined in libstdc++.so and the only code
that gets instantiated in your own translation
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
--- Comment #1 from Jonathan Wakely ---
(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 think that's going to work anyway, is it?
I would expect
12 matches
Mail list logo