------- Comment #4 from pinskia at gcc dot gnu dot org 2006-05-04 01:52 ------- t1.c: In function 'main': t1.c:5: warning: implicit declaration of function 'atanh' t1.c:5: warning: format '%f' expects type 'double', but argument 3 has type 'int'
You need either -std=c99 or not use -ansi as atanh is a C99 math function and not part of C90. Also this is more of a glibc issue than a GCC one. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27413