View Ticket
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:
<div>I created tclkit.exe in KitCreator Web Interface with the following options.</div><div>But when I executed the program, the following error was reported.</div><div><br /></div><div><span style="font-size: 10pt;">---------------------------</span></div><div>Fatal Error in Wish</div><div>---------------------------</div><div>&lt;sys/stat.h&gt; is not compatible with MSVC</div><div>---------------------------</div><div>OK&nbsp; &nbsp;</div><div>---------------------------</div><div><br /></div><div><h1 style="color: rgb(0, 0, 0); font-family: Meiryo;">KitCreator Web Interface</h1><p style="font-family: Meiryo; font-size: medium;"><strong>Status:</strong>&nbsp;Complete</p><p style="font-family: Meiryo; font-size: medium;"><strong>URL:</strong>&nbsp;<a href="http://kitcreator.rkeene.org/kits/b00dd4f52414d34ad408e52fe27b3da50614c822/tclkit.exe">http://kitcreator.rkeene.org/kits/b00dd4f52414d34ad408e52fe27b3da50614c822/tclkit.exe</a></p><p style="font-family: Meiryo; font-size: medium;"><strong>Description:</strong>&nbsp;Tcl 8.6.10, KitCreator 0.12.0, Platform win32, Metakit-based, Threaded, Packages: tk</p></div>
User Comments:
anonymous added on 2020-06-19 02:16:40: (text/x-fossil-plain)
Here's the cause of that problem.

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

anonymous added on 2021-01-12 05:08:34: (text/x-fossil-plain)
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: (text/x-fossil-plain)
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: (text/x-fossil-plain)
Fixed in [b93594845d], will be in newer releases