This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: strange warning in gsl_matrix_float_set
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Ivo Alxneit <ivo dot alxneit at psi dot ch>
- Cc: GSL-discuss <gsl-discuss at sources dot redhat dot com>
- Date: Tue, 15 Oct 2002 22:52:42 +0100 (BST)
- Subject: Re: strange warning in gsl_matrix_float_set
- References: <E181NdC-00048U-00@ultra16.uk2net.com>
Ivo Alxneit writes:
> gcc -O2 -march=i386 -mcpu=i686 -pipe -pedantic -Wall -W -Wmissing-prototypes
> -Wstrict-prototypes -Wtraditional -Wconversion -Wshadow -Wpointer-arith
> -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -Wnested-externs
> -Dinline= -g -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
> -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO
> -c -o read_as_int.o read_as_int.c
> read_as_int.c: In function `read_as_int':
> read_as_int.c:14: warning: passing arg 4 of `gsl_matrix_float_set' as `float' rather
> than `double' due to prototype
See the section on -Wconversion in the GCC Manual for a description of
the warning.