On 6/23/07, Jeremy Sanders <[EMAIL PROTECTED]> wrote:
Hi -
I get the following problem when trying to use py++ on a c++ header file:
...
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 for the error report. The bug was caused by a wrong treatment
of exception types:
struct ExpressionError{};
void buggy() throw( ExpressionError& );
------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The simple work-around is to use "typedef"
typedef ExpressionError& ExpressionErrorRef;
void buggy() throw( ExpressionErrorRef );
I just fixed the bug( SVN revision 1078 ).
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_______________________________________________
gccxml mailing list
[email protected]
http://www.gccxml.org/mailman/listinfo/gccxml