[pygccxml-development] __int128_t traceback
Brought to you by:
mbaas,
roman_yakovenko
From: Gustavo C. <gjc...@gm...> - 2010-07-06 14:05:12
|
It seems pygccxml (1.0) tracbacks when the type __int128_t is found in a header file. I don't really care about the type, it is used internally by an implementation class which I do not wish to wrap, but the mere presence of this type is enough to crash pygccxml and stop me from scanning the rest of the API. File "/home/tomh/hg/jul10/ns-3-allinone/pybindgen/pybindgen/gccxmlparser.py", line 683, in parse_init self.declarations = parser.parse(header_files, self.gccxml_config) File "/usr/lib/python2.5/site-packages/pygccxml/parser/__init__.py", line 50, in parse self.declarations = parser.parse(header_files, self.gccxml_config) File "/usr/lib/python2.5/site-packages/pygccxml/parser/__init__.py", line 50, in parse answer = parser.read_files(files, compilation_mode) File "/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 225, in read_files answer = parser.read_files(files, compilation_mode) File "/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 225, in read_files return self.__parse_file_by_file(files) File "/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 250, in __parse_file_by_file decls = reader.read_file( header ) File "/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 197, in read_file return self.__parse_file_by_file(files) File "/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 250, in __parse_file_by_file decls = reader.read_file( header ) File "/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 197, in read_file return self.read_gccxml_file( source_file ) File "/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 224, in read_gccxml_file raise error RuntimeError: pygccxml error: unable to find fundamental type with name '__int128_t'. return self.read_gccxml_file( source_file ) File "/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 224, in read_gccxml_file raise error RuntimeError: pygccxml error: unable to find fundamental type with name '__int128_t'. -- Gustavo J. A. M. Carneiro INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc "The universe is always one step beyond logic." -- Frank Herbert |