Suggestion: Exception Support

Brian Gough bjg@network-theory.co.uk
Mon Dec 17 17:27:00 GMT 2007


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



More information about the Gsl-discuss mailing list