[C++-sig] To Spicy For Py++ [was: A wrapped class contains another wrapped class. Hilarity ensues.]

Roman Yakovenko roman.yakovenko at gmail.com
Tue Nov 27 21:06:03 CET 2007


On Nov 27, 2007 9:59 PM, Matthew Scouten <matthew.scouten at gmail.com> wrote:
> We did try that. GCC-XML chokes on our library code. It was originally
> written for C,  and later ported to C++.  Along the way it picked up some
> crazy preprocessor and template hacks and even some meta-template
> programming. Granted most of this stuff is not the part we need to wrap, but
> it is not easily separable. On top of all that, it was written with msvc8 in
> mind, not GCC.
>
> Even with with options set to emulate msvc8, GCC-XML generates hundreds of
> error messages the last of which is "internal compiler error". It works fine
> on other code, and our library compiles just fine on msvc8.

:-(. Did you try new latest cvs version of gccxml? It is built on top
of GCC 4.2.
SVN version of Py++ and pygccxml should work fine with it.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list