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

David Cournapeau david@ar.media.kyoto-u.ac...
Sun Sep 6 22:35:05 CDT 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.



More information about the NumPy-Discussion mailing list