[pygccxml-development] crash on hello world in PyppTutorial
Brought to you by:
mbaas,
roman_yakovenko
From: Neal B. <ndb...@gm...> - 2006-08-23 12:29:05
|
I just tried the hello world example from https://realityforge.vrsource.org/view/PyppApi/PyppTutorial and got a crash: (just updated gccxml from cvs) INFO gccxml cmd: /usr/bin/gccxml -I"/home/nbecker/tmp" "world.h" -fxml="/tmp/tmpQfJLT9.xml" Traceback (most recent call last): File "pypp_setup.py", line 10, in ? root = mod.parse() File "/usr/local/src/pygccxml/pyplusplus_dev/contrib/pypp_api/pypp_api/modulebuilder.py", line 230, in parse parser.project_reader.COMPILATION_MODE.FILE_BY_FILE) File "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py", line 225, in read_files return self.__parse_file_by_file(files) File "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py", line 250, in __parse_file_by_file decls = reader.read_file( header ) File "/usr/lib/python2.4/site-packages/pygccxml/parser/source_reader.py", line 245, in read_file raise error pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: world.h:5: error: `string' undeclared in namespace `std' world.h:5: error: syntax error before `)' token world.h:6: error: syntax error before `(' token world.h:7: error: semicolon missing after declaration of `World' world.h: In member function `void World::set(...)': world.h:5: error: 'struct World' has no member named 'msg' world.h:5: error: `msg' undeclared (first use this function) world.h:5: error: (Each undeclared identifier is reported only once for each function it appears in.) world.h: At global scope: world.h:7: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. |