[GCC-XML] KeyError
Jeremy Sanders
jss at ast.cam.ac.uk
Sat Jun 23 13:30:53 EDT 2007
Hi -
I get the following problem when trying to use py++ on a c++ header file:
xpc17:~:$ python test.py
INFO Parsing source file "problem.h" ...
INFO gccxml
cmd: /data/jss/linux/bin/gccxml -I"." "problem.h" -fxml="/tmp/tmpQ8b4tT.xml"
Traceback (most recent call last):
File "test.py", line 7, in <module>
, define_symbols=[] )
File "/home/jss/code/pythonpath/pyplusplus/module_builder/builder.py",
line 87, in __init__
, indexing_suite_version)
File "/home/jss/code/pythonpath/pyplusplus/module_builder/builder.py",
line 118, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/home/jss/code/pythonpath/pygccxml/parser/project_reader.py", line
225, in read_files
return self.__parse_file_by_file(files)
File "/home/jss/code/pythonpath/pygccxml/parser/project_reader.py", line
250, in __parse_file_by_file
decls = reader.read_file( header )
File "/home/jss/code/pythonpath/pygccxml/parser/source_reader.py", line
249, in read_file
raise error
KeyError: '_9317'
If anyone wants to have a look, then can get the preprocessed source from
http://www-xray.ast.cam.ac.uk/~jss/data/problem.h.gz
Thanks
Jeremy
--
Jeremy Sanders <jss at ast.cam.ac.uk> http://www-xray.ast.cam.ac.uk/~jss/
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053
More information about the gccxml
mailing list