Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: cannot link with _ftime_s https://bugzilla.redhat.com/show_bug.cgi?id=795426 Summary: cannot link with _ftime_s Product: Fedora Version: rawhide Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: mingw32-gcc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] CC: [email protected], [email protected], [email protected], [email protected] Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: --- // $ i686-w64-mingw32-gcc -Wimplicit-function-declaration ./ftime.c // // /tmp/ccdYAiqO.o:ftime.c:(.text+0x16): undefined reference to`_imp___ftime_s' // collect2: error: ld returned 1 exit status // // No warning, this means the function is declared in headers (gcc -E shows // it comes from sec_api/sys/timeb_s.h) but it's not available at link time. /* $ rpm -qa mingw32* mingw32-binutils-2.22.51-3.fc17_cross.x86_64 mingw32-gcc-4.7.0-0.3.20120123.fc16_cross.x86_64 mingw32-filesystem-92-1.fc18_cross.noarch mingw32-cpp-4.7.0-0.3.20120123.fc16_cross.x86_64 mingw32-headers-2.0.999-0.1.trunk.20120120.fc17_cross.noarch mingw32-crt-2.0.999-0.3.trunk.20120124.fc17_cross.noarch mingw32-gcc-c++-4.7.0-0.3.20120123.fc16_cross.x86_64 */ #include <stdlib.h> // for NULL #include <sys/timeb.h> int main(int argc, char **argv) { _ftime_s(NULL); return 0; } -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ mingw mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/mingw
