From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20889 invoked by alias); 17 Dec 2007 17:27:03 -0000 Received: (qmail 20880 invoked by uid 22791); 17 Dec 2007 17:27:03 -0000 X-Spam-Check-By: sourceware.org Received: from network-theory.com (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Dec 2007 17:26:48 +0000 Date: Mon, 17 Dec 2007 17:27:00 -0000 Message-ID: <874pehz0yz.wl%bjg@network-theory.co.uk> From: Brian Gough To: gsl-discuss@sourceware.org Subject: Re: Suggestion: Exception Support In-Reply-To: <7ECEBD13-EFAD-4117-AC8D-E4929B455767@comhem.se> References: <7ECEBD13-EFAD-4117-AC8D-E4929B455767@comhem.se> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: 18225c9822ce998e933caff71a70cf9a Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00045.txt.bz2 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