[Numpy-discussion] mixing -fno-exceptions with swig c++ wrappers to python
Mon Sep 7 11:16:06 CDT 2009
On Sun, Sep 6, 2009 at 8:35 PM, David
> Rohit Garg wrote:
>> 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.
Yeah, that's what I meant. If my code does not use exceptions, then is
it safe to use -fno-exceptions?
> NumPy-Discussion mailing list
Department of Physics
Indian Institute of Technology
More information about the NumPy-Discussion