Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b617b6a9b98a4b7e168e087e3b6ba226dca00846
Ticket: 3542062fffffffffffffffffffffffffffffffff
TCL8.4.19 compile error using vs2010 with win7
User & Date: glto3d on 2012-07-10 15:33:56
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hello, There is a bug in "generic\tclPosixStr.c" that causes the following error:
    
    Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    ===============================================================================
    *** Compiler has 'Optimizations'
    *** Compiler doesn't have 'Pentium 0x0f fix'
    *** Linker doesn't have 'Win98 alignment problem'
    *** Intermediate directory will be '.\Release\tcl_Dynamic'
    *** Output directory will be '.\Release'
    *** Suffix for binaries will be ''
    *** Optional defines are ' -DTCL_CFG_OPTIMIZED'
    *** Compiler version 0
    *** Compiler options ' -Ot -Oi -fp:strict -Gs -GS -GL  -RTC1'
    *** Link options '-ltcg'
    *** Dependency rules are not being used.
    
            cl -nologo -c -W3 -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECA
    TE -Fp.\Release\tcl_Dynamic\ -W3 -O2  -Ot -Oi -fp:strict -Gs -GS -GL -MD -I"..\w
    in" -I"..\generic"  -DTCL_PIPE_DLL=\"tclpip84.dll\"  -DTCL_CFG_OPTIMIZED -DBUILD
    _tcl -Fo.\Release\tcl_Dynamic\ @C:\Users\lto\AppData\Local\Temp\nm863F.tmp
    tclPosixStr.c
    ..\generic\tclPosixStr.c(349) : error C2196: case value '123' already used
    ..\generic\tclPosixStr.c(409) : error C2196: case value '121' already used
    ..\generic\tclPosixStr.c(799) : error C2196: case value '123' already used
    ..\generic\tclPosixStr.c(859) : error C2196: case value '121' already used
    NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\cl.EXE"' : return code '0x2'
    Stop.
    
    NOTE: The issue can be fixed by removing the include statement for "tclPort.h" at the beginning of the tclPosixStr.c file. 
    
    
  4. foundin changed to: "obsolete: 8.4.19"
  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: "glto3d"
  10. subsystem changed to: "None"
  11. title changed to: "TCL8.4.19 compile error using vs2010 with win7"
  12. type changed to: "Bug"