Rohit Garg wrote:
> Yeah, that's what I meant. If my code does not use exceptions, then is
> it safe to use -fno-exceptions?
>
You would have to look at g++ documentation - but if it is safe for your
code, numpy should not make it "unsafe". I am not sure what not using
exception means in C++, t
numpy.i is supposed to be C-compatible, so it does not generate any
throw or catch statements, and utilizes standard python error
handling. Using -fno-exceptions should be OK.
On Sep 7, 2009, at 12:16 PM, Rohit Garg wrote:
> On Sun, Sep 6, 2009 at 8:35 PM, David
> Cournapeau wrote:
>> Rohit
On Sun, Sep 6, 2009 at 8:35 PM, David
Cournapeau 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
>> th
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 y
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.
Thanks,
--
Rohit Garg
http://rpg-314.blogspot.com/
Senior Undergrad