[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] why disable range checking ? Re: Help-gsl Digest, Vol 81, Is
From: |
Awhan Patnaik |
Subject: |
[Help-gsl] why disable range checking ? Re: Help-gsl Digest, Vol 81, Issue 10 |
Date: |
Mon, 26 Jul 2010 14:12:48 +0530 |
> Message: 2
> Date: Thu, 22 Jul 2010 01:37:55 +0200
> From: glide creme <address@hidden>
> Subject: [Help-gsl] range check ?
> To: address@hidden
> Hi I'm having trouble disabling the range checking in the gsl.
> I guess I'm abit rusty in the cpreprocessor macro world, so if someone
> can elaborate on issue.
>
> gcc -lgsl gsl.c -lgslcblas -DHAVE_INLINE -DGSL_RANGE_CHECK=0
>
> I still get the
> gsl: ../gsl/gsl_vector_double.h:177: ERROR: index out of range
>
> To: glide creme <address@hidden>
> Cc: address@hidden
> Hello Glide,
>
> I don't have GCC right now but you might want to try using
>
> -UGSL_RANGE_CHECK
>
> instead of
>
> -DGSL_RANGE_CHECK=0
>
> Best,
>
> Javier
>
forgive this offtopic but related question. why would anybody want to
disable range checking? i think its a recipe for disaster ... i m
surprised to even find such a facility in gsl.
- [Help-gsl] why disable range checking ? Re: Help-gsl Digest, Vol 81, Issue 10,
Awhan Patnaik <=