[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] Work-around: Building issue with the pgi and the cray comp
From: |
Brian Gough |
Subject: |
Re: [Bug-gsl] Work-around: Building issue with the pgi and the cray compiler from version 1.12 and onwards |
Date: |
Tue, 04 May 2010 17:10:59 -0400 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0 (HANACHIRUSATO) |
At Tue, 04 May 2010 15:27:34 +0200,
Jacob Weismann Poulsen wrote:
>
> Hello again
>
> I had a look at the source today and found an easy work-around for
> these two compilers:
>
> CC=cc ./configure --disable-shared --enable-static cat config.h|sed
> 's;#define HAVE_INLINE 1;#undef HAVE_INLINE;g' > config.h.new mv
> config.h.new config.h make
>
> I guess that you will have to fix this by improving the inline check
> currently done in configure.ac.
Thanks for your email. As you say the basic problem does seem to be
the inline check and its interaction with GSL_C99_INLINE for those
compilers. All the usage of inline is controlled through the macros
in gsl_inline.h -- if you can see why it is failing for those
compilers and suggest a patch I will be happy to include it.
--
Brian Gough