* Suggestion: Exception Support
@ 2007-12-17 14:17 Tommy Nordgren
2007-12-17 17:27 ` Brian Gough
0 siblings, 1 reply; 2+ messages in thread
From: Tommy Nordgren @ 2007-12-17 14:17 UTC (permalink / raw)
To: gsl-discuss
I suggest that the configure script should be set up so that make will
build the GSL
library with C++ exception support if possible. (C code must be
compiled with the flag
-fexceptions under gcc) I've noticed that configure don't turn on this
flag by default.
(If a c library is NOT compiled with -fexecptions, any exception
thrown across a c function call
on the stack, will always terminate the application)
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from
outer space.
On congratulations for a fantastic parody, the producer replies :
"What parody?"
Tommy Nordgren
tommy.nordgren@comhem.se
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Suggestion: Exception Support
2007-12-17 14:17 Suggestion: Exception Support Tommy Nordgren
@ 2007-12-17 17:27 ` Brian Gough
0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2007-12-17 17:27 UTC (permalink / raw)
To: gsl-discuss
At Mon, 17 Dec 2007 15:17:22 +0100,
Tommy Nordgren wrote:
> I suggest that the configure script should be set up so that make
> will build the GSL library with C++ exception support if
> possible. (C code must be compiled with the flag -fexceptions under
> gcc) I've noticed that configure don't turn on this flag by default.
> (If a c library is NOT compiled with -fexecptions, any exception
> thrown across a c function call on the stack, will always terminate
> the application)
Thanks for the suggestion. It probably would be more convenient, but
changing the autoconf defaults tends to cause unexpected problems so I
prefer to stick with them.
I'll add a note in the INSTALL file to make the -fexceptions option
more prominent. Presumably most distributions should be adding this
anyway.
--
Brian Gough
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-17 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-17 14:17 Suggestion: Exception Support Tommy Nordgren
2007-12-17 17:27 ` Brian Gough
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).