View Ticket
2022-08-12
15:45 Closed ticket [df2dd68dca]: Error: <sys/stat.h> is not compatible with MSVC plus 3 other changes artifact: 1a66fb04ec user: rkeene
15:21
Remove setting _USE_32BIT_TIME_T, does not seem to be required anymore.

It was added as part of [cb7ed6affe], but now causes [df2dd68dca] check-in: b93594845d user: rkeene tags: trunk

2021-03-20
06:32 Ticket [df2dd68dca] Error: <sys/stat.h> is not compatible with MSVC status still Open with 3 other changes artifact: e0c8b18128 user: anonymous
2021-01-12
05:08 Ticket [df2dd68dca]: 3 changes artifact: 8f40f99f3e user: anonymous
2020-06-19
02:16 Ticket [df2dd68dca]: 6 changes artifact: 77ee718054 user: anonymous
2020-02-05
07:02 New ticket [df2dd68dca]. artifact: 505684acfc user: anonymous

Ticket Hash: df2dd68dcaac97e9fb5971ae6d06b5a00446e450
Title: Error: <sys/stat.h> is not compatible with MSVC
Status: Closed Type: Build Problem
Severity: Critical Priority: Immediate
Subsystem: Tcl Resolution: Open
Last Modified: 2022-08-12 15:45:56
Version Found In: 0.12.0
Description:
I created tclkit.exe in KitCreator Web Interface with the following options.
But when I executed the program, the following error was reported.

---------------------------
Fatal Error in Wish
---------------------------
<sys/stat.h> is not compatible with MSVC
---------------------------
OK   
---------------------------

KitCreator Web Interface

Status: Complete

URL: http://kitcreator.rkeene.org/kits/b00dd4f52414d34ad408e52fe27b3da50614c822/tclkit.exe

Description: Tcl 8.6.10, KitCreator 0.12.0, Platform win32, Metakit-based, Threaded, Packages: tk

User Comments:
anonymous added on 2020-06-19 02:16:40:
Here's the cause of that problem.

https://core.tcl-lang.org/tcl/whatis/797aaaf6466104ad

anonymous added on 2021-01-12 05:08:34:
According to the comment, it seems we need to build 32bit version with VC6.
If I don't have the build environment, I'd better expect Ashok to continue providing 32bit tclkit. I once used KitCreator Web interface to make the smallest tclkit (without TWAPI, with all encodings and with all TZ database.)

anonymous added on 2021-03-20 06:32:41:
problems also happens without TK.

Description: Tcl 8.6.11, KitCreator 0.12.1, Platform win32, Unthreaded, No packages

results in:

<sys/stat.h> is not compatible with MSVC
Illegal instruction

rkeene added on 2022-08-12 15:45:56:
Fixed in [b93594845d], will be in newer releases