[Bug 795426] cannot link with _ftime_s

bugzilla at redhat.com bugzilla at redhat.com
Fri May 30 09:19:27 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=795426

Christophe Fergeau <cfergeau at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|19                          |20



--- Comment #3 from Christophe Fergeau <cfergeau at redhat.com> ---
I'm still hitting this in f20 with mingw64-gcc, but this seems related to
ccache:

$ which x86_64-redhat-linux-gcc
/usr/lib64/ccache/x86_64-redhat-linux-gcc

$ LC_ALL=C x86_64-redhat-linux-gcc  -Wimplicit-function-declaration ./mingw.c 
./mingw.c: In function 'main':
./mingw.c:6:5: warning: implicit declaration of function '_ftime_s'
[-Wimplicit-function-declaration]
     _ftime_s(NULL);
     ^
/tmp/ccswArMH.o: In function `main':
mingw.c:(.text+0x1a): undefined reference to `_ftime_s'
collect2: error: ld returned 1 exit status


$ /usr/bin/x86_64-w64-mingw32-gcc  -Wimplicit-function-declaration ./mingw.c
$ echo $?
0

No clue whether this should be reopened or not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=DayBwQolke&a=cc_unsubscribe


More information about the mingw mailing list