This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] include _mingw.h in stddef.h
Ozkan Sezer wrote:
>> __int64 dummy;
>>
>> without including any header at all? Would an alternative solution to be to
>> add a predefine "-D__int64=int64_t" in the driver specs?
>>
>
> Add __int8, __int16, etc. to that list..
Well, yes, there's no reason why not, and if the MSVC compiler supplies all
these types built in I don't see why GCC shouldn't do just the same.
> IMO, this is much more robust and transparent to users.
But it doesn't work if the user doesn't include stddef.h, I thought? So GCC
won't compile code that would compile OOTB on MSVC, or did I misunderstand?
cheers,
DaveK