This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/61546] MINGW : __int64 is #define'd as 'long long'
- From: "sezeroz at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Jun 2014 08:45:55 +0000
- Subject: [Bug libgcc/61546] MINGW : __int64 is #define'd as 'long long'
- Auto-submitted: auto-generated
- References: <bug-61546-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61546
Ozkan Sezer <sezeroz at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sezeroz at gmail dot com
--- Comment #3 from Ozkan Sezer <sezeroz at gmail dot com> ---
(In reply to Anton Baskanov from comment #2)
>
> why libgcc uses #define for __int64 instead of typedef?
MinGW and MinGW-w64 use #define instead of a typedef, because that allows for
uses like 'signed __int64' and 'unsigned __int64', i.e. __int64 isn't native to
gcc.