Skip to content

32-bit time_t issue? #1

@mvoltz

Description

@mvoltz

Here's the output from running the .bat command:
starting
Version 0.9.27
T
HAS_WIN32_DIR yes
building config
start compiling -DTCC_TARGET_PE -DTCC_TARGET_X86_64 -D_WIN64
In file included from C:/tools/msys64/mingw64/include/crtdefs.h:10,
from C:/tools/msys64/mingw64/include/stdint.h:28,
from C:/tools/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/stdint.h:9,
from ..\tcc\config.h:17,
from ..\tcc\tcc.h:25,
from ..\tcc\libtcc.c:21:
C:/tools/msys64/mingw64/include/corecrt.h:128:2: error: #error You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64
128 | #error You cannot use 32-bit time_t (_USE_32BIT_TIME_T) with _WIN64
| ^~~~~
In file included from ..\tcc\libtcc.c:24:
..\tcc\notcl.c: In function 'Tcl_NewStringObj':
..\tcc\notcl.c:22:60: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
22 | char* Tcl_NewStringObj(const char* filename,int n) {return filename;}
| ^~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions