gccxml compilation error with msc

hello -
i'm using gccxml (with pygccxml to generate python wrappers and fusion
extension code), and under msc (7.1 in this case) i get compilation errors.
it's a trivial fix, since gccxml attempts to emulate msc, it just needs another
check in a couple files (naturally you'll probably want to rename
'CDP_USING_GCCXML'). i thought i'd send a patch, since i think others may try
using gccxml (esp. since pygccxml is shaping up quite nicely).
there are probably other places where this may be a problem, but for now,
they're the only ones i've run into.
HTH,
--craig
cvs -z9 diff -u -- and.hpp or.hpp (in directory
D:\dev\boost.cvs\boost\boost\mpl\)
Index: and.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/mpl/and.hpp,v
retrieving revision 1.5
diff -u -r1.5 and.hpp
--- and.hpp 2 Sep 2004 15:40:41 -0000 1.5
+++ and.hpp 30 Nov 2006 09:08:40 -0000
@@ -28,7 +28,7 @@
// 'or' and 'and' macros, see http://tinyurl.com/3et69; 'defined(and)'
// has to be checked in a separate condition, otherwise GCC complains
// about 'and' being an alternative token
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && !defined(CDP_USING_GCCXML)
#if defined(and)
# pragma push_macro("and")
# undef and
@@ -39,7 +39,7 @@
# define BOOST_MPL_PREPROCESSED_HEADER and.hpp
# include
participants (1)
-
craigp