Re: Removing -fexceptions from $RPM_OPT_FLAGS

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

 



On Tue, Jan 18, 2011 at 06:08:37PM -0500, Frank Ch. Eigler wrote:
> -fexception allows a C library to participate in C++ exception
> handling.  It does not cost anything except extra data tables in the
> ELF file.  Its presence matters in cases where a C library is used by
> a C++ program, for example where the library may make a callback into
> the C++ program, and that callback might throw an exception.  With
> -fexception, that exception will be propagated properly through the C
> library, to the outermost application.  Without it, exceptions thrown
> from a callback may abort the program, even if the overall application
> wanted to catch it.

-fexceptions is also desirable for POSIX thread cancellation.

	Jakub
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux