Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-07-11
01:14 • Closed ticket [3542062fff]: TCL8.4.19 compile error using vs2010 with win7 p... artifact: af39cd0533 user: nijtmans
2012-07-10
15:33 • New ticket [3542062fff]. artifact: b617b6a9b9 user: glto3d

TCL8.4.19 compile error using vs2010 with win7

Closed / Out of Date3542062fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-07-10 15:33:56
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.
nijtmansplain2012-07-11 01:14:23
allow_comments - 1

This is already fixed in core-8-4-branch
Log in (anonymous is fine) to add a comment.