------- Comment #18 from dfranke at gcc dot gnu dot org 2007-04-18 19:39 ------- > It happens when you compile and link statically a Fortran code > that uses GETLOG().
Confirmed. But if and only if it uses GETLOG(). Thus, it's not too bad. From comment #13, I assumed that the warning is issued all the time, whenever linking is done. > I'll test and commit the patch soon. The docs should be updated accordingly, especially the part referring to getlogin(3) ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31299