Re: [Boost-bugs] [Boost C++ Libraries] #907: gccxml compilation error under Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #907: gccxml compilation error under Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-05-21 15:41:48


#907: gccxml compilation error under Windows
---------------------+------------------------------------------------------
  Reporter: nobody | Owner:
      Type: Bugs | Status: new
 Milestone: | Component: mpl
   Version: None | Severity: Showstopper
Resolution: None | Keywords:
---------------------+------------------------------------------------------
Changes (by grafik):

  * owner: nobody =>
  * status: assigned => new
  * component: None => mpl
  * severity: => Showstopper

Old description:

> {{{
> 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 <boost/mpl/aux_/include_preprocessed.hpp>
>
> #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 <boost/mpl/aux_/include_preprocessed.hpp>
>
> #if defined(_MSC_VER)
> +#ifndef __GCCXML__
> #if defined(or)
> # pragma pop_macro("or")
> +#endif
> #endif
> #endif
>
> }}}

New description:

 {{{
    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 <boost/mpl/aux_/include_preprocessed.hpp>

  #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 <boost/mpl/aux_/include_preprocessed.hpp>

  #if defined(_MSC_VER)
 +#ifndef __GCCXML__
  #if defined(or)
  # pragma pop_macro("or")
 +#endif
  #endif
  #endif

 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/907#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:55 UTC