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

2014-06-17 Thread baskanov at gmail dot com
Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: baskanov at gmail dot com Created attachment 32961 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32961&action=edit Preprocessed input The following input fails to compile: #include in

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

2014-06-18 Thread baskanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61546 --- Comment #2 from Anton Baskanov --- (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

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

2014-06-18 Thread baskanov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61546 --- Comment #4 from Anton Baskanov --- (In reply to Ozkan Sezer from comment #3) > (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 ty