
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

2010/5/24 Bo Jensen
I am trying to extract function information from my project into a xml file with gcc-xml.
I can't answer your original question, but you might try clang instead of gcc-xml. See http://blog.llvm.org/2010/05/clang-builds-boost.html. Roman Perepelitsa.

Roman thanks for your reply, but I don't see from the documentation
how I can generate a xml file with clang.
On Tue, May 25, 2010 at 8:32 AM, Roman Perepelitsa
2010/5/24 Bo Jensen
I am trying to extract function information from my project into a xml file with gcc-xml.
I can't answer your original question, but you might try clang instead of gcc-xml. See http://blog.llvm.org/2010/05/clang-builds-boost.html. Roman Perepelitsa. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Ahh I see, sorry missed that. Thanks will give it a try.
On Tue, May 25, 2010 at 9:04 AM, Roman Perepelitsa
2010/5/25 Bo Jensen
Roman thanks for your reply, but I don't see from the documentation how I can generate a xml file with clang.
$ clang -cc1 -ast-print-xml test.cpp Roman Perepelitsa. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Bo Jensen
-
Roman Perepelitsa