|
Boost Users : |
Subject: [Boost-users] gcc-xml and boost
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2010-05-24 07:34:16
I am trying to extract function information from my project into a xml
file with gcc-xml. The xml file is to be used to make wrappers for
other languages. But I get the below failures. I just add all the
include directives into a gcc options file and run it. Do I need to
set some flags for gcc-xml to parse it correctly ?
In file included from /root/src/types/basictypes.hpp:50,
from /root/src/logging/logging.hpp:46,
from /root/src/exceptions/exc.hpp:70,
from ../model/model.hpp:29,
from ../model/model.cpp:25:
/external/boost/boost/filesystem/operations.hpp:510: error: expected
identifier before 'class'
/external/boost/boost/filesystem/operations.hpp:511: error: ISO C++
forbids declaration of 'fail_if_exists' with no type
/external/boost/boost/filesystem/operations.hpp:511: error: ISO C++
forbids declaration of 'overwrite_if_exists' with no type
/external/boost/boost/filesystem/operations.hpp:511: error: expected
';' before '}' token
/external/boost/boost/filesystem/operations.hpp:511: error: expected
`;' before '}' token
/external/boost/boost/filesystem/operations.hpp:511: error: multiple
types in one declaration
/external/boost/boost/filesystem/operations.hpp:511: error: invalid
use of non-static data member
'boost::filesystem::copy_option::fail_if_exists'
/external/boost/boost/filesystem/operations.hpp:515: error: from this location
/external/boost/boost/filesystem/operations.hpp: In function 'typename
boost::enable_if<boost::filesystem::is_basic_path<Path>, void>::type
boost::filesystem::copy_file(const Path&, const Path&,
boost::filesystem::copy_option)':
/external/boost/boost/filesystem/operations.hpp:511: error: invalid
use of non-static data member
'boost::filesystem::copy_option::fail_if_exists'
/external/boost/boost/filesystem/operations.hpp:519: error: from this location
/usr/include/c++/4.4/cmath: In function 'typename
__gnu_cxx::__enable_if<std::__is_arithmetic<_Tp>::__value,
int>::__type std::fpclassify(_Tp) [with _Tp = float]':
/external/boost/boost/functional/hash/detail/hash_float.hpp:65:
instantiated from 'size_t boost::hash_detail::float_hash_value(T)
[with T = float]'
/external/boost/boost/functional/hash/hash.hpp:299: instantiated from here
/usr/include/c++/4.4/cmath:501: error: '__builtin_fpclassify' was not
declared in this scope
/usr/include/c++/4.4/cmath: In function 'typename
__gnu_cxx::__enable_if<std::__is_arithmetic<_Tp>::__value,
int>::__type std::fpclassify(_Tp) [with _Tp = double]':
/external/boost/boost/functional/hash/detail/hash_float.hpp:65:
instantiated from 'size_t boost::hash_detail::float_hash_value(T)
[with T = double]'
/external/boost/boost/functional/hash/hash.hpp:304: instantiated from here
/usr/include/c++/4.4/cmath:501: error: '__builtin_fpclassify' was not
declared in this scope
/usr/include/c++/4.4/cmath: In function 'typename
__gnu_cxx::__enable_if<std::__is_arithmetic<_Tp>::__value,
int>::__type std::fpclassify(_Tp) [with _Tp = long double]':
/external/boost/boost/functional/hash/detail/hash_float.hpp:65:
instantiated from 'size_t boost::hash_detail::float_hash_value(T)
[with T = long double]'
/external/boost/boost/functional/hash/hash.hpp:309: instantiated from here
/usr/include/c++/4.4/cmath:501: error: '__builtin_fpclassify' was not
declared in this scope
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net