Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-04-21
13:43 • Closed ticket [1424909fff]: Tcl 8.4 does not build with VS2005. plus 6 other... artifact: 7a2f735187 user: nijtmans
2011-04-19
19:27 • Open ticket [1424909fff]. artifact: 879565a0cc user: nijtmans
19:20 • Ticket [1424909fff]: 4 changes artifact: 4146d41a15 user: nijtmans
19:20 • Add attachment 1424909_2.patch to ticket [1424909fff] artifact: 4c3e446a12 user: nijtmans
2006-06-15
00:12 • Closed ticket [1424909fff]: Tcl 8.4 does not build with VS2005. plus 7 other... artifact: 0dedafc988 user: patthoyts
2006-03-30
07:14 • Ticket [1424909fff]: 4 changes artifact: c6279546c3 user: patthoyts
07:14 • Add attachment 1424909.patch to ticket [1424909fff] artifact: 287ea78e51 user: patthoyts
07:14 • Ticket [1424909fff] Tcl 8.4 does not build with VS2005. status still Open wi... artifact: 0ac956ebe1 user: patthoyts
2006-03-23
08:24 • Ticket [1424909fff]: 7 changes artifact: b88607afca user: patthoyts
2006-02-06
16:44 • Ticket [1424909fff]: 1 change artifact: f77cd87be7 user: dkf
09:23 • Ticket [1424909fff]: 4 changes artifact: 117f2e76c2 user: chibi
09:23 • Add attachment Win32_compile.zip to ticket [1424909fffffffff|1424909fff... artifact: 2e49d376ee user: chibi
02:23 • New ticket [1424909fff] cannot compile in Visual Studio. artifact: 50aaa3b6d7 user: chibi

Tcl 8.4 does not build with VS2005.

Closed / Fixed1424909fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 16 years ago
Descriptionplain2006-02-06 02:23:18
TCL could not be compiled in Visual Studio. Complete
build log is attached.
chibiplain2006-02-06 09:23:19
File Added - 166322: Win32_compile.zip
dkf Ticket [1424909fff]: 1 change [History diff]2006-02-06 16:44:33
patthoytsplain2006-03-23 08:24:25
Logged In: YES 
user_id=202636

The patches applied to the development HEAD (8.5) have not
yet been backported to 8.4 branch. In the meantime you
should use msvc 6 or mingw gcc to compile on windows -- or
obtain a prebuilt binary.
patthoytsplain2006-03-30 07:14:51
Logged In: YES 
user_id=202636

Attaching a patch that implements msvc8 support for the 8.4
branch. This produces no test failures on my system when
compiling for win32. Trying to build for amd64 does not work
though.
patthoytsplain2006-03-30 07:14:53
File Added - 172723: 1424909.patch
patthoytsplain2006-06-15 00:12:58
Logged In: YES 
user_id=202636

Committed the patch plus some extra code to merge in the
.manifest files generated for msvcrt8. Further issues should
be raised as win32 build system issues.
nijtmansplain2011-04-19 19:20:47
File Added - 409231: 1424909_2.patch
nijtmansplain2011-04-19 19:27:42
Reopening for the following reason: I think that a different
definition of Tcl_StatBuf for different VS versions is a bad
idea: Tcl_StatBuf is part of the public Tcl API, and this
prevents Tcl build with VS2005+ to work together
with mingw-compiled extensions (or reverse), whenever
the Tcl_StatBuf definition is involved.

Here is a patch for Tcl 8.4 (1424909_2.patch), which
fixes this: use _stati64 for all WIN32 platforms, no
matter which compiler.

This could be a potential incompatibility for VS2005+
builds, but because the 'standard' build is still MSVC6,
in practice this is no problem at all.

The same thing should be done for Tcl 8.5 and 8.6,
but this patch is for 8.4

Agreed?
nijtmansplain2011-04-21 13:43:02
allow_comments - 1

Let's continue this in [Bug #3288345]
Log in (anonymous is fine) to add a comment.

Attachments: