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 _______________________________________________ Help-gsl mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gsl
