help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Turn off range checking in GSL


From: Peter Johansson
Subject: Re: [Help-gsl] Turn off range checking in GSL
Date: Fri, 11 Apr 2014 09:40:44 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]