|
Boost : |
From: Jenny Duan \(TT\) (jenny.duan_at_[hidden])
Date: 2007-12-10 11:30:36
Gccxml does not seem to be able to handle the boost/mpl/and.hpp file. I
have the most recent gccxml (retrieved the source tree and built it) and
1.34.1 boost. I was told by GCCXML support that
boost/config/compiler/gcc_xml.hpp needs to exist in order for GCXXML to
process boost header files and this file does exist. Please see the
content of it below.
Can somebody please tell me why it's not working for me? Your help would
be greatly appreciated.
Thanks,
Jenny
-----------------------------------------------------------
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Source: /cvsroot/boost/boost/boost/mpl/and.hpp,v $
// $Date: 2004/09/02 15:40:41 $
// $Revision: 1.5 $
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
&& !defined(BOOST_MPL_PREPROCESSING_MODE)
# include <boost/mpl/bool.hpp>
# include <boost/mpl/aux_/nested_type_wknd.hpp>
# include <boost/mpl/aux_/na_spec.hpp>
# include <boost/mpl/aux_/lambda_support.hpp>
// agurt, 19/may/04: workaround a conflict with <iso646.h> header's
// '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(and)
# pragma push_macro("and")
# undef and
# define and(x)
#endif
#endif
# define BOOST_MPL_PREPROCESSED_HEADER and.hpp
# include <boost/mpl/aux_/include_preprocessed.hpp>
#if defined(_MSC_VER)
#if defined(and)
# pragma pop_macro("and")
#endif
#endif
#else
# define AUX778076_OP_NAME and_
# define AUX778076_OP_VALUE1 false
# define AUX778076_OP_VALUE2 true
# include <boost/mpl/aux_/logical_op.hpp>
#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
#endif // BOOST_MPL_AND_HPP_INCLUDED
------------------------------------------------
$gccxml -fxml-start=./xml_start_symbols.txt --gccxml-gcc-options
./compiler_optons.txt world.h -fxml=world.xml
--- snip---
In file included from
G:/corebuilds/7.0.x/misc/stream/1.3/dev/stream/helpers.h:42,
from ../common/world.h:33:
C:/Program Files/boost/boost_1_34_1/boost/mpl/and.hpp:32:13: error:
operator "defined" requires an identifier
C:/Program Files/boost/boost_1_34_1/boost/mpl/and.hpp:32:13: error:
("and" is an alternative token for "&&" in C++)
C:/Program Files/boost/boost_1_34_1/boost/mpl/and.hpp:32:16: error:
missing '(' in expression
C:/Program Files/boost/boost_1_34_1/boost/mpl/and.hpp:43:13: error:
operator "defined" requires an identifier
C:/Program Files/boost/boost_1_34_1/boost/mpl/and.hpp:43:13: error:
("and" is an alternative token for "&&" in C++)
C:/Program Files/boost/boost_1_34_1/boost/mpl/and.hpp:43:16: error:
missing '(' in expression
In file included from
G:/corebuilds/7.0.x/misc/stream/1.3/dev/stream/helpers.h:44,
from ../common/world.h:33:
C:/Program Files/boost/boost_1_34_1/boost/mpl/or.hpp:33:13: error:
operator "defined" requires an identifier
C:/Program Files/boost/boost_1_34_1/boost/mpl/or.hpp:33:13: error: ("or"
is an alternative token for "||" in C++)
C:/Program Files/boost/boost_1_34_1/boost/mpl/or.hpp:33:15: error:
missing '(' in expression
C:/Program Files/boost/boost_1_34_1/boost/mpl/or.hpp:44:13: error:
operator "defined" requires an identifier
C:/Program Files/boost/boost_1_34_1/boost/mpl/or.hpp:44:13: error: ("or"
is an alternative token for "||" in C++)
C:/Program Files/boost/boost_1_34_1/boost/mpl/or.hpp:44:15: error:
missing '(' in expression
--- snip---
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk