I tried to run boost::random example from
pygccxml/pyplusplus_dev/examples/pyboost_dev/pyboost/random/.
This is using:
cvs gccxml
svn pygccxml
svn pyplusplus
linux (fedora FC5)
gcc gcc-4.1.0-3
boost cvs
python generate_code.py
/usr/local/src/pygccxml/pyplusplus_dev
pygccxml INSTALLED version will be used
parsing files - started
gccxml cmd: /usr/bin/gccxml -I"." -I"/usr/local/src/boost.cvs"
-U"__MINGW32__" "/usr/local/src/boost.cvs/libs/random/random_test.cpp"
-fxml="/usr/local/src/pygccxml/pyplusplus_dev/examples/pyboost_dev/pyboost/random/generated/random_test.xml"
Traceback (most recent call last):
File "generate_code.py", line 94, in ?
export()
File "generate_code.py", line 90, in export
cg = code_generator_t()
File "generate_code.py", line 34, in __init__
, undefine_symbols=settings.undefined_symbols)
File
"/usr/lib/python2.4/site-packages/pyplusplus/module_builder/builder.py", line
76, in __init__
, cache )
File
"/usr/lib/python2.4/site-packages/pyplusplus/module_builder/builder.py", line
101, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py",
line 149, in read_files
return self.__parse_file_by_file(files)
File "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py",
line 183, in __parse_file_by_file
reader.create_xml_file( header, prj_file.cached_source_file )
File "/usr/lib/python2.4/site-packages/pygccxml/parser/source_reader.py",
line 154, in create_xml_file
raise error
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while
running GCC-XML: In file included
from /usr/local/src/boost.cvs/boost/test/included/test_exec_monitor.hpp:18,
from /usr/local/src/boost.cvs/libs/random/random_test.cpp:25:
/usr/local/src/boost.cvs/boost/test/impl/compiler_log_formatter.ipp: In member
function `virtual void
boost::unit_test::output::compiler_log_formatter::log_build_info(std::ostream&)
':
/usr/local/src/boost.cvs/boost/test/impl/compiler_log_formatter.ipp:66: error:
syntax
error before numeric constant
In file included
from /usr/local/src/boost.cvs/boost/test/included/test_exec_monitor.hpp:32,
from /usr/local/src/boost.cvs/libs/random/random_test.cpp:25:
/usr/local/src/boost.cvs/boost/test/impl/xml_log_formatter.ipp: In member
function `virtual void
boost::unit_test::output::xml_log_formatter::log_build_info(std::ostream&)':
/usr/local/src/boost.cvs/boost/test/impl/xml_log_formatter.ipp:72: error:
syntax
error before numeric constant
|