help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] 转发: 答复: gsl libraries by Brian Gladman


From: Seow Hui, Saw
Subject: Re: [Help-gsl] 转发: 答复: gsl libraries by Brian Gladman
Date: Fri, 7 Sep 2012 23:23:59 +0900

Dear Brian and Cheng,

Thank you very much for your advises. Finally I solved all the problems and
able to build it successfully after replacing the bspline.c sent by Brian.

Thanks again for your patience! Appreicated!


Best Regards,
Saw (Miss)

On Fri, Sep 7, 2012 at 3:06 AM, Brian Gladman <address@hidden> wrote:

> -----Original Message----- From: Cheng Li
> Sent: Thursday, September 06, 2012 5:07 PM
> To: 'Brian Gladman' ; 'Seow Hui, Saw' ; address@hidden
> Subject: 转发: 答复: [Help-gsl] gsl libraries by Brian Gladman
>
>
> Hi Brian,
>
> Previous I have encountered the exactly same problem as Saw did and after
> some debugging finally I solved the problem somehow. In the following
> email, I described my solution to  him. What I have done is just commenting
> some bound check codes out. Honestly I am not sure whether it matters much
> or not to the library. I just the make building process finished without
> errors…. Do you have any idea on this problem?
>
> ==========================
> Hi All
>
> I believe that I know what causes this issue, one which has probably been
> fixed in the repository as I reported the issues to Brian Gough before he
> left as the GSL maintainer
>
> The GSL code is supposed to be written in the C89 version of C, which does
> not allow out of order declarations.
>
> But some of the code is written for later versions of C that allow these.
>
> So when a compile is done in DEBUG mode, the extra range checking code is
> inserted before the following variable declarations which are then out of
> order so the compile fails.
>
> The correct solution is to put the declarations before rather than after
> the range checking code.
>
>     best regards,
>
>         Brian
>
>


reply via email to

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