|
From: | Brian Gough |
Subject: | Re: [Help-gsl] Can I use an error handler that throws exceptions? |
Date: | Mon, 13 Nov 2006 12:07:25 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060815 SeaMonkey/1.0.4 |
Jordi Gutierrez Hermoso wrote:
I wrote my error handler that throws exceptions instead of printing error messages and calling abort(). I attach the relevant code in case anyone wants to analyse it. At any rate, my error handler does indeed throw exceptions, but isthere something I am not understanding about C/C++ or the GSL?
See the note about "-fexceptions" in the section "Usage - Compatibility with C++" of the manual -- by default C libraries are compiled without support for exceptions with GCC but you can enable that when you run ./configure.
-- best regards, Brian Gough (GSL Maintainer) Network Theory Ltd, Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/
[Prev in Thread] | Current Thread | [Next in Thread] |