Boost C++ Libraries: Ticket #907: gccxml compilation error under Windows https://svn.boost.org/trac10/ticket/907 <pre class="wiki"> To avoid a compilation error under GCCXML running on Windows, the changes below were made to a local copy. I can be reached at boost_bug_track at the domain atl-intl com. Index: and.hpp =================================================================== RCS file: C:\CVS/boost/boost/mpl/and.hpp,v retrieving revision 1.1 diff -d -u -r1.1 and.hpp --- and.hpp 12 Apr 2007 14:55:22 -0000 1.1 +++ and.hpp 12 Apr 2007 15:01:06 -0000 @@ -29,19 +29,23 @@ // has to be checked in a separate condition, otherwise GCC complains // about 'and' being an alternative token #if defined(_MSC_VER) +#ifndef __GCCXML__ #if defined(and) # pragma push_macro("and") # undef and # define and(x) #endif #endif +#endif # define BOOST_MPL_PREPROCESSED_HEADER and.hpp # include &lt;boost/mpl/aux_/include_preprocessed.hpp&gt; #if defined(_MSC_VER) +#ifndef __GCCXML__ #if defined(and) # pragma pop_macro("and") +#endif #endif #endif Index: or.hpp =================================================================== RCS file: C:\CVS/boost/boost/mpl/or.hpp,v retrieving revision 1.1 diff -d -u -r1.1 or.hpp --- or.hpp 12 Apr 2007 14:55:22 -0000 1.1 +++ or.hpp 12 Apr 2007 15:00:27 -0000 @@ -30,19 +30,23 @@ // has to be checked in a separate condition, otherwise GCC complains // about 'or' being an alternative token #if defined(_MSC_VER) +#ifndef __GCCXML__ #if defined(or) # pragma push_macro("or") # undef or # define or(x) #endif #endif +#endif # define BOOST_MPL_PREPROCESSED_HEADER or.hpp # include &lt;boost/mpl/aux_/include_preprocessed.hpp&gt; #if defined(_MSC_VER) +#ifndef __GCCXML__ #if defined(or) # pragma pop_macro("or") +#endif #endif #endif </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/907 Trac 1.4.3 René Rivera Mon, 21 May 2007 15:41:48 GMT status, component, description changed; severity set; owner deleted https://svn.boost.org/trac10/ticket/907#comment:1 https://svn.boost.org/trac10/ticket/907#comment:1 <ul> <li><strong>owner</strong> <span class="trac-author">nobody</span> removed </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">mpl</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/907?action=diff&amp;version=1">diff</a>) </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket Dave Abrahams Mon, 09 Jul 2007 01:38:13 GMT cc set https://svn.boost.org/trac10/ticket/907#comment:2 https://svn.boost.org/trac10/ticket/907#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">agurtovoy@…</span> added </li> </ul> <p> Can't assign to aleksey until he sets up his email address in Trac. </p> Ticket Aleksey Gurtovoy Mon, 09 Jul 2007 05:42:11 GMT owner set https://svn.boost.org/trac10/ticket/907#comment:3 https://svn.boost.org/trac10/ticket/907#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">Aleksey Gurtovoy</span> </li> </ul> Ticket Aleksey Gurtovoy Mon, 09 Jul 2007 06:43:33 GMT cc, status, resolution, severity changed https://svn.boost.org/trac10/ticket/907#comment:4 https://svn.boost.org/trac10/ticket/907#comment:4 <ul> <li><strong>cc</strong> <span class="trac-author">boost_bug_track@…</span> added; <span class="trac-author">agurtovoy@…</span> removed </li> <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-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Problem</span> </li> </ul> <p> Applied to HEAD, thanks! </p> Ticket