[Top][All Lists]

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

Re: [Help-gsl] using gsl_blas_dgemm

From: Dipankar Maitra
Subject: Re: [Help-gsl] using gsl_blas_dgemm
Date: Sun, 22 May 2011 11:23:07 -0400

Thanks Brian!  I did some more searching of the web and it looks like
people are saying that -Wconversion may not be most useful with ISO-C
code (e.g.  I was
following, somewhat blindly, the list of "GCC warning options for
numerical programs" in the GSL manual.


On Fri, May 20, 2011 at 6:02 PM, Brian Gough <address@hidden> wrote:
> At Thu, 19 May 2011 16:30:23 -0400,
> Dipankar Maitra wrote:
>> I am trying to use gsl_blas_dgemm() to multiply two matrices, with
>> somewhat strict warning options (as a part of a bigger project).  The
>> code, alongwith its compile options is given below.  When trying to
>> compile the code I get the following warnings:
>> joe.c: In function ‘main’:
>> joe.c:49: warning: passing argument 1 of ‘gsl_blas_dgemm’ with
>> different width due to prototype
>> joe.c:49: warning: passing argument 2 of ‘gsl_blas_dgemm’ with
>> different width due to prototype
>> Is there a way I can fix this?
> Hi
> Although the output says "warning" it is only flagging potential and
> not actual problems - the compiler cannot know which in this case - so
> it can't be fixed by changing the code.  See the documentation for
> -Wconversion for more details.
> --
> Brian Gough

Dipankar Maitra
Department of Astronomy, Univ. of Michigan
500 Church St., Ann Arbor, MI 48109-1042
Ph: +1-734-615-1583

reply via email to

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