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

Rohit Garg rpg.314@gmail....
Mon Sep 7 11:16:06 CDT 2009


On Sun, Sep 6, 2009 at 8:35 PM, David
Cournapeau<david@ar.media.kyoto-u.ac.jp> wrote:
> 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.
Yeah, that's what I meant. If my code does not use exceptions, then is
it safe to use -fno-exceptions?

>
> cheers,
>
> David
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay


More information about the NumPy-Discussion mailing list