Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 41c27a992d557f21374c30f37939d7fc43af9a17
Ticket: 1835061fffffffffffffffffffffffffffffffff
Fail to build and test thread on Win32/MSVC
User & Date: twylite on 2007-11-20 10:41:29
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Problems in the makefile.vc and test files prevent the thread package from being successfully built on Win32 using MSVC6 or MSVC8.
    
    (1) The link flag -nodefaultlib:msvcrt has been added in the case of non-static builds (which must link against MSVCRT).  This was probably added in error because Thread failed to link against a Tcl DLL which was compiled with different library flags (-MT instead of -MD).  This flag must be removed.
    
    (2) tests/all.tcl doesn't correctly load the Thread DLL (specified via -loadfile by the makefile.vc), so tests can't run at all.
    
    (3) tests/thread.test attempts to resolve $::tcl_PatchLevel on non-unix platforms (note capatalisation error: should be $::tcl_patchLevel).
    
    The attached patch fixes all these errors and bumps the package version to 2.6.6 (in configure.in and pkg.vc).  The maintainer will need to reconfigure.
    
    
  4. foundin changed to: "obsolete: 8.5b2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "twylite"
  10. subsystem changed to: "80. Thread Package"
  11. title changed to: "Fail to build and test thread on Win32/MSVC"
  12. type changed to: "Bug"