This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strange warning in gsl_matrix_float_set


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]