2011/12/6 Sven Köhler <[email protected]>: > Am 03.12.2011 01:34, schrieb Pau Garcia i Quiles: >> Hi, >> >> This question is asked so often I contributed an entry for mingw-w64 to >> Predef: >> >> http://sourceforge.net/apps/mediawiki/predef/index.php?title=Compilers#MinGW > > I have doubts that this table is very useful. The table should mention, > when each of the macro can be expected to be defined. In particular, it > might be non-obvious that both __MINGW64__ and __MINGW32__ are defined > for mingw64. Also, it might be non-obvious for people that __MINGW64__ > is defined no matter whether a 32bit or a 64but mingw64 toolchain is > used. Being clear about that is kind of the purpose of that page, isn't it? > > Unfortunately, I can't edit that page. > > > Regards, > Sven
Well, that __MINGW64__ is defined unconditionally for 32-bit and 64-bit is just a rumor, which is wrong. The macro __MINGW32__ is defined by compiler for 32-bit and 64-bit. The macro __MINGW64__ is just defined for 64-bit. At least this is the case for trunk version of gcc. Nevertheless those macros are not considered to check for runtime-version, which this thread was about. Cheers, Kai PS: If you want Wiki edit-right, then become a mingw-w64 team-member on sourceforge :) ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
