This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suggestion: Exception Support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]