Modify

Opened 10 years ago

Closed 10 years ago

#907 closed Bugs (fixed)

gccxml compilation error under Windows

Reported by: nobody Owned by: agurtovoy
Milestone: Component: mpl
Version: None Severity: Problem
Keywords: Cc: boost_bug_track@…

Description (last modified by grafik)

   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

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by grafik

  • Component changed from None to mpl
  • Description modified (diff)
  • Owner nobody deleted
  • Severity set to Showstopper
  • Status changed from assigned to new

comment:2 Changed 10 years ago by dave

  • Cc agurtovoy@… added

Can't assign to aleksey until he sets up his email address in Trac.

comment:3 Changed 10 years ago by agurtovoy

  • Owner set to agurtovoy

comment:4 Changed 10 years ago by agurtovoy

  • Cc boost_bug_track@… added; agurtovoy@… removed
  • Resolution changed from None to fixed
  • Severity changed from Showstopper to Problem
  • Status changed from new to closed

Applied to HEAD, thanks!

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain agurtovoy.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.