[C++-sig] Py++ - Another GCCXML issue -- GCCXML ignoring defines/issue with exception specifications

Roman Yakovenko roman.yakovenko at gmail.com
Tue Jul 17 06:59:25 CEST 2007


On 7/16/07, Lawrence Spector <Lawrence.Spector at canfieldsci.com> wrote:
> I have a header file where I define something to the effect of the
> following:
>
> #define THROW_1(X) throw(X)
> In another header I use it:
>
> class MyClass : public ClassWithExceptSpec
> {
> public:
>
> void myMethod() THROW_1(MyExcept);
>
> };
>
>
>
> It actually gives me a syntax error at the line of the method declaration.
> I also tried defining directly from the Py++ Gui, same result.

There is something else that cause this issue. I just tried your
example and it works as expected.


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



More information about the Cplusplus-sig mailing list