You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This short example fails to compile with 1.09 on win64
#include once "crt/time.bi"
? _timezone
Error:
C:\FreeBASIC\bin\win64\ld.exe: fbc-issue.o:fake:(.rdata$.refptr._imp___timezone[.refptr._imp___timezone]+0x0): undefined reference to _imp___timezone'
I found a similar issue here: // mingw's msvcrt is a weird hybrid import library and static library. that indicates fbc may need to add msvcrt to LD's commandline twice so that it get the static and import parts. I tried hacking it into my local compiler but it did not change the error.
32bit compiler on windows (or building for 32bit) is not affected.
The text was updated successfully, but these errors were encountered:
mudhairless
changed the title
CRT _timezone undefind reference issue on 64-bit windows
CRT _timezone undefined reference issue on 64-bit windows
Feb 7, 2022
This short example fails to compile with 1.09 on win64
Error:
I found a similar issue here: // mingw's msvcrt is a weird hybrid import library and static library. that indicates fbc may need to add msvcrt to LD's commandline twice so that it get the static and import parts. I tried hacking it into my local compiler but it did not change the error.
32bit compiler on windows (or building for 32bit) is not affected.
The text was updated successfully, but these errors were encountered: