From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2795 invoked by alias); 3 Jul 2008 11:48:25 -0000 Received: (qmail 2741 invoked by uid 22791); 3 Jul 2008 11:48:24 -0000 X-Spam-Check-By: sourceware.org Received: from mail.network-theory.co.uk (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Jul 2008 11:47:56 +0000 Date: Thu, 03 Jul 2008 11:48:00 -0000 Message-ID: <87iqvnkymx.wl%bjg@network-theory.co.uk> From: Brian Gough To: GSL Discuss Mailing List Subject: c99 inline 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: 377b5f40af38a060e7eaba5bf626d43a 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: 2008-q3/txt/msg00002.txt.bz2 I have checked in support for C99 inline function declarations--these are now the default in gcc 4.3 when compiling with -std=c99. Previously the GNU 'extern inline' extension worked in C99 with gcc but now it is more strict [1]. The new header file defines some macros which change the inline declarations. It needs to be included in any header that uses inline functions. The static versions of inline functions in libgsl.a are now made by compiling the header files (with the macros in "build.h"), so the code only appears in one place rather than being duplicated in the .c files. [1] http://gcc.gnu.org/gcc-4.3/porting_to.html