Re: Specify -fno-exceptions in source file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 21, 2015 at 10:34:28AM +0100, Jonathan Wakely wrote:
> On 21 April 2015 at 10:17, Goswin von Brederlow wrote:
> > Does the resulting binary work?
> 
> It should do.
> 
> > Doesn't "no-exceptions" break ABI
> > compatibility with the other object files and breaks when an exception
> > is thrown across the "no-exceptions" object?
> 
> No, there's no effect on ABI.
> 
> You can't catch it in the no-exceptions object, obviously, because
> 'catch' is not allowed in that file, but the exception simply passes
> through any frames without unwinding information, and can be caught
> further up the stack.

But then it doesn't unwind them so destructors won't be called that
should be, right?

MfG
	Goswin




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux