This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] include _mingw.h in stddef.h


Ross Ridge writes:
>No, I'm saying that if anything is done, they should be made reserved
>words and synonymous with char, short, int and long long as appropriate,
>not typedefs or macros.  That's what's necessary for a fully compatible
>implementation.  Otherwise the macros are just a hack, and having the
>user do -D__int8=char, if that's what they want, is just as good of hack
>as anything else.

Kai Tietz writes:
>Well, to add here for C and C++ frontends the support of types __int8,
>__int16, __int32, __int64, and for 64-bit version the type __int128
>would be fine. But I have doubts that a target specific override of
>RID_... and checks would be acceptable. But if you want my vote you
>have to prepare a patch for this.

My suggestion is that no patch be accepted for this, as there's isn't
sufficient reason for GCC to support these Microsoft specific types.
However, if the MinGW maintainers think that Microsoft compatibility
alone is sufficient justification, then accordlingly the only acceptable
patch should be one that actually implements these types in a way that's
compatible with MSC.

					Ross Ridge


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