[C++-sig] pyplusplus simple test failure
Roman Yakovenko
roman.yakovenko at gmail.com
Tue Feb 14 06:17:49 CET 2006
On 2/13/06, Neal Becker <ndbecker2 at gmail.com> wrote:
> I'm curious about pyplusplus. I tried a simple test and got an error. Any ideas?
>
> python test.py
> Traceback (most recent call last):
> File "test.py", line 17, in ?
> decls_all = parser.parse( ['hello_world.hpp'], parser_config )
> File "/usr/lib/python2.4/site-packages/pygccxml/parser/__init__.py", line 25, in parse
> answer = parser.read_files(files, compilation_mode)
> File "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py", line 61, in read_files
> return self.__parse_file_by_file(files)
> File "/usr/lib/python2.4/site-packages/pygccxml/parser/project_reader.py", line 82, in __parse_file_by_file
> decls = reader.read_file( header )
> File "/usr/lib/python2.4/site-packages/pygccxml/parser/source_reader.py", line 140, in read_file
> raise error
> KeyError: u'complex long double'
You are using GCC-XML CVS and GCC 4.1 right?
pyplusplus depends on pygccxml package. This bug has been fixed few days\weeks
ago. Try to use cvs version of pygccxml and pyplusplus.
Thanks
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list