Re: Compile with no exceptions

2006-09-13 Thread Maxim Yegorushkin
kitschen wrote: > Is it possible in g++ (3.2) to compile without exception handling? (turn > off all exceptions) > > I would like to estimate the performance gain on my code without > exception. Is this possible without rewriting the code and taking out > all try and catch etc? I heard that ente

Re: Compile with no exceptions

2006-09-01 Thread Paul Pluzhnikov
kitschen <[EMAIL PROTECTED]> writes: > Paul Pluzhnikov wrote: > >> Obviously, if you are *using* exceptions, you can't just tell the >> compiler "ignore what I wrote, and compile something else instead". > > So what's the -fno-exceptions for then? To omit special tables which are necessary to pro

Re: Compile with no exceptions

2006-09-01 Thread kitschen
Paul Pluzhnikov wrote: kitschen <[EMAIL PROTECTED]> writes: Is it possible in g++ (3.2) to compile without exception handling? (turn off all exceptions) Sure: -fno-exceptions Thanks for that. I'll try it. Obviously, if you are *using* exceptions, you can't just tell the compiler "ignore wha

Re: Compile with no exceptions

2006-08-31 Thread Paul Pluzhnikov
kitschen <[EMAIL PROTECTED]> writes: > Is it possible in g++ (3.2) to compile without exception handling? > (turn off all exceptions) Sure: -fno-exceptions > I would like to estimate the performance gain on my code without > exception. Is this possible without rewriting the code and taking out