Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 01dc24ea16b995a6a1ff4cb4a0ef3c2e17df98f3
Ticket: 1096916fffffffffffffffffffffffffffffffff
Support build with MSVC++ 8
User & Date: patthoyts on 2005-01-06 02:42:34
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
    
  4. foundin changed to: "None"
  5. priority changed to: "1 Zero"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "patthoyts"
  9. subsystem changed to: "53. Configure and Build Tools"
  10. title changed to: "Support build with MSVC++ 8"
  11. type changed to: "Patch"