[Bug libgcc/61546] MINGW : __int64 is #define'd as 'long long'

baskanov at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 18 07:55:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61546

--- Comment #2 from Anton Baskanov <baskanov at gmail dot com> ---
(In reply to Richard Biener from comment #1)
> Well,
> 
>   long long(123456789012345678);
> 
> isn't valid C++.  Either use cast syntax or provide a typedef.

Yes, you are right, but why libgcc uses #define for __int64 instead of typedef?
This is confusing.



More information about the Gcc-bugs mailing list