Boost C++ Libraries: Ticket #4834: MinGW-32/gcc-4.x doesn't define__MINGW32_MAJOR_VERSION or __MINGW32_MINOR_VERSION https://svn.boost.org/trac10/ticket/4834 <p> MinGW doesn't define macros <code>__MINGW32_MAJOR_VERSION</code> or <code>__MINGW32_MINOR_VERSION</code> in gcc-4.x, but I see decision-making based on those macros in config/platform/win32.hpp. </p> <p> I've attached two macro-dump files (i.e., from <code>gcc -dM -E </code>) and they show the major and minor revisions via <code>__GNUC__</code> and <code>__GNUC_MINOR__</code> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4834 Trac 1.4.3 Jim Bell <jim@…> Wed, 10 Nov 2010 13:12:50 GMT attachment set https://svn.boost.org/trac10/ticket/4834 https://svn.boost.org/trac10/ticket/4834 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">macros-mingw-gcc-4.3.3.txt</span> </li> </ul> <p> mingw-gcc-4.3.3 macros </p> Ticket Jim Bell <jim@…> Wed, 10 Nov 2010 13:13:12 GMT attachment set https://svn.boost.org/trac10/ticket/4834 https://svn.boost.org/trac10/ticket/4834 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">macros-mingw-gcc-4.4.0.txt</span> </li> </ul> <p> mingw-gcc-4.4.0 macros </p> Ticket Jim Bell <jim@…> Wed, 10 Nov 2010 13:17:23 GMT milestone changed https://svn.boost.org/trac10/ticket/4834#comment:1 https://svn.boost.org/trac10/ticket/4834#comment:1 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost-1.45.0</span> </li> </ul> Ticket John Maddock Thu, 11 Nov 2010 16:18:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4834#comment:2 https://svn.boost.org/trac10/ticket/4834#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> Those macros are defined in _mingw.h which win32.hpp includes when __MINGW32__ is defined. </p> <p> I've just checked with Mingw GCC-4.5.0 and __MINGW32_MAJOR_VERSION=3 and __MINGW32_MINOR_VERSION=18. </p> <p> Closing for now, please reopen if your version of _mingw.h really doesn't define these (or isn't getting #included). </p> Ticket