Artifacts Associated With Ticket 1699183
Ticket change [4f087c86b2] (rid 125754) by twylite on 2007-04-12 12:24:08:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
A Win32 build under MS Visual C 6 fails when using OPTS="symbols". The problem is in tclCompCmds.c (line 1443) and was introduced to CVS on 2007/04/11. nmake /f makefile.vc OPTS="symbols,threads" ... cl -nologo -c -QI0f -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE -Fp.\Debug\tcl_ThreadedDynamic\ -W3 -Z7 -WX -GZ -MDd -I"..\win" -I"..\generic" -I"..\libtommath" -DTCL_PIPE_DLL=\"tclpip85g.dll\" -DTCL_TOMMATH -DMP_PREC=4 -DTCL_CFGVAL_ENCODING=\"cp1252\" -DTCL_THREADS=1 -DTCL_CFG_DEBUG -DBUILD_tcl -Fo.\Debug\tcl_ThreadedDynamic\ @C:\DOCUME~1\TREVOR~1.PRI\LOCALS~1\Temp\nma02380. tclCompCmds.c ..\generic\tclCompCmds.c(1443) : error C2220: warning treated as error - no object file generated ..\generic\tclCompCmds.c(1443) : warning C4090: 'function' : different 'const' qualifiers ..\generic\tclCompCmds.c(1443) : warning C4022: 'memset' : pointer mismatch for actual parameter 1 NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. This only appears in the symbols build because of the -WX flag (not present in Release build) which turns warnings into errors. Suggested fix: cast varvList to a (void*): memset((void*)varvList, 0, numLists * sizeof(const char **)); - foundin initialized to: "obsolete: 8.5a6"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "twylite"
- subsystem initialized to: "None"
- title initialized to: "Build with symbols fails on Win32 in tclCompCmds.c"
- type initialized to: "Bug"
Ticket change [be11442347] (rid 102015) by dkf on 2007-04-12 19:55:33:
- assignee changed to: "dgp"
- subsystem changed to: "47. Bytecode Compiler"
Ticket change [c559cca6f2] (rid 111990) by patthoyts on 2007-04-16 17:42:06:
- closedate changed to: "2007-04-16T10:42:06"
- closer changed to: "patthoyts"
- icomment:
Logged In: YES user_id=202636 Originator: NO Was fixed with a cast to char * by kbk
- login: "patthoyts"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "patthoyts"