------- Comment #1 from paolo dot carlini at oracle dot com 2008-10-08 12:48 ------- The warning is correct: by default, fileno, not being a standard C function, is simply not declared in the <stdio.h> header of your linux machine. A quick look to the man page reveals that the function is declared when, e.g., _POSIX_SOURCE is defined.
-- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID Summary| warning: implicit |warning: implicit |declaration of function |declaration of function |'fileno' |'fileno' http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37771