Overview
| Artifact ID: | 01dc24ea16b995a6a1ff4cb4a0ef3c2e17df98f3 |
|---|---|
| Ticket: | 1096916fffffffffffffffffffffffffffffffff
Support build with MSVC++ 8 |
| User & Date: | patthoyts on 2005-01-06 02:42:34 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
NOTE: this patch is provided to record the modifications required. It is not intended to actually be applied until this compiler is officially released. This patch contains a number of changes required to compile Tcl using Microsoft Visual C++ 8 which is currently provided as part of the Microsoft Visual Studio 2005 Beta. To summarize: regerror.c: errcode is a typedef declared in the windows headers. tclWinPort.h: A large number of C library functions have been marked as depreciated as part of some secure programming drive at MS. This suppresses the warnings. tcl.h: By default time_t is declared as a 64 bit value. Tcl can't cope with this so we define _USE_32BIT_TIME_T. This means we must use a compatible struct version for Tcl_StatBuf nmakehlp.c: The error codes have changed. rules.vc: makefile.vc: We need more options checking as a number have been removed. The result is that Tcl now compiles without warnings. There are 11 test suite failures and one crash. The crash is caused by the C runtime when we try to convert an illegal time value ( a legitimate test - blame microsoft). The other failures are due to some change in the putenv() function which appears to no longer be changing the environment.
- foundin changed to: "None"
- priority changed to: "1 Zero"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "patthoyts"
- subsystem changed to: "53. Configure and Build Tools"
- title changed to: "Support build with MSVC++ 8"
- type changed to: "Patch"