[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Turn off range checking in GSL
From: |
Khoa Tran |
Subject: |
Re: [Help-gsl] Turn off range checking in GSL |
Date: |
Thu, 10 Apr 2014 23:44:38 +0000 |
Thank you all very much!
“If necessary you can turn off range checking completely without modifying any
source files by recompiling *your program* with the preprocessor definition
|GSL_RANGE_CHECK_OFF|.” - is exactly where I get lost in there.
Can anybody help me clarify?
Best regards!
Khoa.
On 11 Apr 2014, at 9:40 am, Peter Johansson <address@hidden> wrote:
> On 04/11/2014 12:57 AM, Patrick Alken wrote:
>> Range checking needs to be turned off when compiling the GSL library (see
>> section 8.3.2 of the manual)
>
> That is not what the manual says:
>
> If necessary you can turn off range checking completely without modifying any
> source files by recompiling *your program* with the preprocessor definition
> |GSL_RANGE_CHECK_OFF|.
>
>>
>> On 04/10/2014 06:17 AM, Khoa Tran wrote:
>>> Hello everyone,
>>>
>>> I’m following up with an old topic here
>>> http://lists.gnu.org/archive/html/help-gsl/2010-07/msg00027.html. I tried
>>> the suggestion their in or either:
>>> #define GSL_RANGE_CHECK 0
>>> or
>>> #define GSL_RANGE_CHECK_OFF
>
> Your test code works if you #define HAVE_INLINE.
>
> I recommend that you have these #defines before any GSL inclusion (as GSL
> header includes other headers).
>
> Cheers,
> Peter
>
> --
> Peter Johansson
>