[Numpy-discussion] mixing -fno-exceptions with swig c++ wrappers to python

David Cournapeau david at ar.media.kyoto-u.ac.jp
Sun Sep 6 23:35:05 EDT 2009


Rohit Garg wrote:
> Hi,
>
> I am using swig to expose a c++ class to Python. I am wondering if it
> is safe to use the -fno-exceptions option while compiling the
> wrappers. I am also using the typemaps present in the numpy.i file
> that comes with numpy.
>
>   

It will mostly depend on the code you are wrapping and your toolchain.
It should not cause trouble w.r.t numpy, as numpy does not use C++ at all.

cheers,

David



More information about the NumPy-Discussion mailing list