Re: Compile TCL8.4.13 using VS2005?
- From: xman_11214@xxxxxxxxx
- Date: 17 Jul 2006 07:31:34 -0700
Dave,
Here is what I see from VS2005. I did use VS2003 & VC++6 before and
it compiled fine.
We just upgraded to use VS2005, then the compilation fails.
1>------ Rebuild All started: Project: tcl, Configuration: Debug Static
Win32 ------
1>Performing Makefile project actions
1>===============================================================================
1>cl : Command line warning D9002 : ignoring unknown option '-Op'
1>nul
1>*** Compiler has 'Optimizations'
1>cl : Command line warning D9002 : ignoring unknown option '-QI0f'
1>nul
1>*** Compiler has 'Pentium 0x0f fix'
1>LINK : warning LNK4001: no object files specified; libraries used
1>LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
1>*** Linker has 'Win98 alignment problem'
1>LINK : fatal error LNK1561: entry point must be defined
1>*** Intermediate directory will be '.\Release\tcl_Dynamic'
1>*** Output directory will be '.\Release'
1>*** Suffix for binaries will be ''
1>*** Optional defines are ''
1>*** Dependency rules are not being used.
1> cl -nologo -c -W3 -YX -Fp.\Release\tcl_Dynamic\ -QI0f -O2 -Op -Gs
-MD -I"..\win" -I"..\generic" -D_CRT_SECURE_NO_DEPRECATE
-DTCL_PIPE_DLL=\"tclpip84.dll\"
-Fo.\Release\tcl_Dynamic\tclAppInit.obj ..\win\tclAppInit.c
1>cl : Command line warning D9002 : ignoring unknown option '-YX'
1>cl : Command line warning D9002 : ignoring unknown option '-QI0f'
1>cl : Command line warning D9002 : ignoring unknown option '-Op'
1>tclAppInit.c
1> rc -fo .\Release\tcl_Dynamic\tclsh.res -r -i "..\generic"
-D__WIN32__ ..\win\tclsh.rc
1> cl -O2 -Op -Gs -nologo -c -W3 -YX -Fp.\Release\tcl_Dynamic\ -QI0f
-Zl -DSTATIC_BUILD -I"..\win" -I"..\generic"
-Fo.\Release\tcl_Dynamic\tclStubLib.obj ..\generic\tclStubLib.c
1>cl : Command line warning D9002 : ignoring unknown option '-Op'
1>cl : Command line warning D9002 : ignoring unknown option '-YX'
1>cl : Command line warning D9002 : ignoring unknown option '-QI0f'
1>tclStubLib.c
1> rc -fo .\Release\tcl_Dynamic\tcl.res -r -i "..\generic" -D__WIN32__
...\win\tcl.rc
1> cl -nologo -c -W3 -YX -Fp.\Release\tcl_Dynamic\ -QI0f -O2 -Op -Gs
-MD -I"..\win" -I"..\generic" -D_CRT_SECURE_NO_DEPRECATE
-DTCL_PIPE_DLL=\"tclpip84.dll\" -DBUILD_tcl -Fo.\Release\tcl_Dynamic\
@C:\DOCUME~1\MING~1.CHA\LOCALS~1\Temp\nmC9.tmp
1>cl : Command line warning D9002 : ignoring unknown option '-YX'
1>cl : Command line warning D9002 : ignoring unknown option '-QI0f'
1>cl : Command line warning D9002 : ignoring unknown option '-Op'
1>regcomp.c
1>regerror.c
1>..\generic\regerror.c(53) : warning C4996: 'errcode' was declared
deprecated
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
1> Message: 'This name was supported during some Whidbey
pre-releases. Instead, use the standard name errno_t.'
1>..\generic\regerror.c(53) : error C2081: 'preg' : name in formal
parameter list illegal
1>..\generic\regerror.c(53) : error C2081: 'errbuf' : name in formal
parameter list illegal
1>..\generic\regerror.c(53) : error C2081: 'errbuf_size' : name in
formal parameter list illegal
1>..\generic\regerror.c(54) : warning C4028: formal parameter 2
different from declaration
1>..\generic\regerror.c(54) : warning C4028: formal parameter 3
different from declaration
1>..\generic\regerror.c(54) : warning C4028: formal parameter 4
different from declaration
1>..\generic\regerror.c(54) : error C2055: expected formal parameter
list, not a type list
1>..\generic\regerror.c(54) : error C2082: redefinition of formal
parameter 'errcode'
1>..\generic\regerror.c(65) : warning C4996: 'errcode' was declared
deprecated
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
1> Message: 'This name was supported during some Whidbey
pre-releases. Instead, use the standard name errno_t.'
1>..\generic\regerror.c(65) : error C2059: syntax error : 'type'
1>..\generic\regerror.c(67) : warning C4552: '>=' : operator has no
effect; expected operator with side-effect
1>..\generic\regerror.c(67) : error C2143: syntax error : missing ';'
before ')'
1>..\generic\regerror.c(72) : error C2043: illegal break
1>..\generic\regerror.c(73) : error C2046: illegal case
1>..\generic\regerror.c(84) : error C2043: illegal break
1>..\generic\regerror.c(85) : error C2047: illegal default
1>..\generic\regerror.c(87) : error C2275: 'errcode' : illegal use of
this type as an expression
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
1>..\generic\regerror.c(92) : error C2275: 'errcode' : illegal use of
this type as an expression
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
1>..\generic\regerror.c(95) : error C2043: illegal break
1>..\generic\regerror.c(98) : error C2065: 'msg' : undeclared
identifier
1>..\generic\regerror.c(98) : warning C4047: 'function' : 'const char
*' differs in levels of indirection from 'int'
1>..\generic\regerror.c(98) : warning C4024: 'strlen' : different types
for formal and actual parameter 1
1>..\generic\regerror.c(98) : error C2099: initializer is not a
constant
1>..\generic\regerror.c(99) : error C2059: syntax error : 'if'
1>..\generic\regerror.c(108) : error C2059: syntax error : 'return'
1>..\generic\regerror.c(109) : error C2059: syntax error : '}'
1>regexec.c
1>regfree.c
1>tclAlloc.c
1>tclAsync.c
1>tclBasic.c
1>tclBinary.c
1>tclCkalloc.c
1>tclClock.c
1>tclCmdAH.c
1>..\generic\tclCmdAH.c(818) : error C2079: 'buf' uses undefined struct
'_stati64'
1>..\generic\tclCmdAH.c(825) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(835) : error C2224: left of '.st_mtime' must
have struct/union type
1>..\generic\tclCmdAH.c(849) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(853) : error C2224: left of '.st_atime' must
have struct/union type
1>..\generic\tclCmdAH.c(853) : error C2198: 'Tcl_SetLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(913) : error C2079: 'buf' uses undefined struct
'_stati64'
1>..\generic\tclCmdAH.c(919) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(920) : error C2224: left of '.st_mode' must
have struct/union type
1>..\generic\tclCmdAH.c(927) : error C2079: 'buf' uses undefined struct
'_stati64'
1>..\generic\tclCmdAH.c(933) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(934) : error C2224: left of '.st_mode' must
have struct/union type
1>..\generic\tclCmdAH.c(1042) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclCmdAH.c(1048) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1052) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1055) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclCmdAH.c(1062) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1071) : error C2224: left of '.st_atime' must
have struct/union type
1>..\generic\tclCmdAH.c(1086) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1090) : error C2224: left of '.st_mtime' must
have struct/union type
1>..\generic\tclCmdAH.c(1090) : error C2198: 'Tcl_SetLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1134) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclCmdAH.c(1140) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1254) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclCmdAH.c(1259) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1263) : error C2224: left of '.st_size' must
have struct/union type
1>..\generic\tclCmdAH.c(1263) : error C2198: 'Tcl_SetWideIntObj' : too
few arguments for call
1>..\generic\tclCmdAH.c(1275) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclCmdAH.c(1281) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1285) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1344) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclCmdAH.c(1349) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclCmdAH.c(1353) : error C2224: left of '.st_mode' must
have struct/union type
1>..\generic\tclCmdAH.c(1353) : error C2198: 'GetTypeFromMode' : too
few arguments for call
1>..\generic\tclCmdAH.c(1510) : error C2037: left of 'st_dev' specifies
undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1510) : error C2198: 'Tcl_NewLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1516) : error C2037: left of 'st_ino' specifies
undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1516) : error C2198: 'Tcl_NewWideIntObj' : too
few arguments for call
1>..\generic\tclCmdAH.c(1517) : error C2037: left of 'st_nlink'
specifies undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1517) : error C2198: 'Tcl_NewLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1518) : error C2037: left of 'st_uid' specifies
undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1518) : error C2198: 'Tcl_NewLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1519) : error C2037: left of 'st_gid' specifies
undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1519) : error C2198: 'Tcl_NewLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1520) : error C2037: left of 'st_size'
specifies undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1520) : error C2198: 'Tcl_NewWideIntObj' : too
few arguments for call
1>..\generic\tclCmdAH.c(1524) : error C2037: left of 'st_atime'
specifies undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1524) : error C2198: 'Tcl_NewLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1525) : error C2037: left of 'st_mtime'
specifies undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1525) : error C2198: 'Tcl_NewLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1526) : error C2037: left of 'st_ctime'
specifies undefined struct/union '_stati64'
1>..\generic\tclCmdAH.c(1526) : error C2198: 'Tcl_NewLongObj' : too few
arguments for call
1>..\generic\tclCmdAH.c(1527) : error C2037: left of 'st_mode'
specifies undefined struct/union '_stati64'
1>tclCmdIL.c
1>tclCmdMZ.c
1>tclCompCmds.c
1>tclCompExpr.c
1>tclCompile.c
1>tclDate.c
1>..\generic\tclDate.c(481) : warning C4244: '=' : conversion from
'time_t' to 'int', possible loss of data
1>..\generic\tclDate.c(550) : warning C4244: '+=' : conversion from
'time_t' to 'int', possible loss of data
1>tclEncoding.c
1>tclEnv.c
1>..\generic\tclEnv.c(276) : warning C4996: 'putenv' was declared
deprecated
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\stdlib.h(822) : see declaration of 'putenv'
1> Message: 'The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name: _putenv. See online help for
details.'
1>..\generic\tclEnv.c(441) : warning C4996: 'putenv' was declared
deprecated
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\stdlib.h(822) : see declaration of 'putenv'
1> Message: 'The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name: _putenv. See online help for
details.'
1>tclEvent.c
1>Generating Code...
1>Compiling...
1>tclExecute.c
1>..\generic\tclExecute.c(398) : error C2099: initializer is not a
constant
1>tclFCmd.c
1>..\generic\tclFCmd.c(114) : error C2079: 'statBuf' uses undefined
struct '_stati64'
1>..\generic\tclFCmd.c(149) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclFCmd.c(149) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(232) : error C2079: 'statBuf' uses undefined
struct '_stati64'
1>..\generic\tclFCmd.c(258) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclFCmd.c(259) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(279) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclFCmd.c(280) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(362) : error C2079: 'statBuf' uses undefined
struct '_stati64'
1>..\generic\tclFCmd.c(374) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclFCmd.c(383) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(479) : error C2079: 'sourceStatBuf' uses
undefined struct '_stati64'
1>..\generic\tclFCmd.c(479) : error C2079: 'targetStatBuf' uses
undefined struct '_stati64'
1>..\generic\tclFCmd.c(499) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclFCmd.c(503) : warning C4133: 'function' : incompatible
types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclFCmd.c(522) : error C2224: left of '.st_ino' must have
struct/union type
1>..\generic\tclFCmd.c(522) : error C2224: left of '.st_ino' must have
struct/union type
1>..\generic\tclFCmd.c(523) : error C2224: left of '.st_ino' must have
struct/union type
1>..\generic\tclFCmd.c(523) : error C2224: left of '.st_ino' must have
struct/union type
1>..\generic\tclFCmd.c(524) : error C2224: left of '.st_dev' must have
struct/union type
1>..\generic\tclFCmd.c(524) : error C2224: left of '.st_dev' must have
struct/union type
1>..\generic\tclFCmd.c(537) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(538) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(545) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(546) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(627) : error C2224: left of '.st_mode' must have
struct/union type
1>..\generic\tclFCmd.c(698) : error C2224: left of '.st_mode' must have
struct/union type
1>tclFileName.c
1>..\generic\tclFileName.c(2743) : error C2027: use of undefined type
'_stati64'
1>
c:\projects\stc\stc-routing\sandbox\testcenter\content\cts\tsm\tools\tcl8.4.13\generic\tcl.h(388)
: see declaration of '_stati64'
1>tclGet.c
1>tclHash.c
1>tclHistory.c
1>tclIndexObj.c
1>tclInterp.c
1>tclIO.c
1>tclIOCmd.c
1>tclIOGT.c
1>tclIOSock.c
1>tclIOUtil.c
1>..\generic\tclIOUtil.c(136) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclIOUtil.c(140) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclIOUtil.c(167) : error C2224: left of '.st_ino' must
have struct/union type
1>..\generic\tclIOUtil.c(167) : error C2224: left of '.st_size' must
have struct/union type
1>..\generic\tclIOUtil.c(167) : error C2224: left of '.st_size' must
have struct/union type
1>..\generic\tclIOUtil.c(196) : error C2224: left of '.st_mode' must
have struct/union type
1>..\generic\tclIOUtil.c(197) : error C2224: left of '.st_ino' must
have struct/union type
1>..\generic\tclIOUtil.c(198) : error C2224: left of '.st_dev' must
have struct/union type
1>..\generic\tclIOUtil.c(199) : error C2224: left of '.st_rdev' must
have struct/union type
1>..\generic\tclIOUtil.c(200) : error C2224: left of '.st_nlink' must
have struct/union type
1>..\generic\tclIOUtil.c(201) : error C2224: left of '.st_uid' must
have struct/union type
1>..\generic\tclIOUtil.c(202) : error C2224: left of '.st_gid' must
have struct/union type
1>..\generic\tclIOUtil.c(203) : error C2224: left of '.st_size' must
have struct/union type
1>..\generic\tclIOUtil.c(204) : error C2224: left of '.st_atime' must
have struct/union type
1>..\generic\tclIOUtil.c(205) : error C2224: left of '.st_mtime' must
have struct/union type
1>..\generic\tclIOUtil.c(206) : error C2224: left of '.st_ctime' must
have struct/union type
1>..\generic\tclIOUtil.c(1713) : error C2079: 'statBuf' uses undefined
struct '_stati64'
1>..\generic\tclIOUtil.c(1727) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclIOUtil.c(1939) : error C2037: left of 'st_mode'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1940) : error C2037: left of 'st_ino'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1941) : error C2037: left of 'st_dev'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1942) : error C2037: left of 'st_rdev'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1943) : error C2037: left of 'st_nlink'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1944) : error C2037: left of 'st_uid'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1945) : error C2037: left of 'st_gid'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1946) : error C2037: left of 'st_size'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1947) : error C2037: left of 'st_atime'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1948) : error C2037: left of 'st_mtime'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(1949) : error C2037: left of 'st_ctime'
specifies undefined struct/union '_stati64'
1>..\generic\tclIOUtil.c(2676) : error C2079: 'buf' uses undefined
struct '_stati64'
1>..\generic\tclIOUtil.c(2679) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclIOUtil.c(2680) : error C2224: left of '.st_mode' must
have struct/union type
1>..\generic\tclIOUtil.c(3665) : error C2079: 'sourceStatBuf' uses
undefined struct '_stati64'
1>..\generic\tclIOUtil.c(3686) : warning C4133: 'function' :
incompatible types - from 'int *' to 'Tcl_StatBuf *'
1>..\generic\tclIOUtil.c(3687) : error C2224: left of '.st_atime' must
have struct/union type
1>..\generic\tclIOUtil.c(3688) : error C2224: left of '.st_mtime' must
have struct/union type
1>tclLink.c
1>tclListObj.c
1>tclLiteral.c
1>tclLoad.c
1>tclMain.c
1>tclNamesp.c
1>tclNotify.c
1>Generating Code...
1>Compiling...
1>tclObj.c
1>tclPanic.c
1>tclParse.c
1>tclParseExpr.c
1>tclPipe.c
1>tclPkg.c
1>tclPosixStr.c
1>tclPreserve.c
1>tclProc.c
1>tclRegexp.c
1>tclResolve.c
1>tclResult.c
1>tclScan.c
1>tclStringObj.c
1>tclStubInit.c
1>tclThread.c
1>tclThreadAlloc.c
1>tclThreadJoin.c
1>tclTimer.c
1>tclUtf.c
1>Generating Code...
1>Compiling...
1>tclUtil.c
1>tclVar.c
1>Generating Code...
1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\bin\cl.EXE"' : return code '0x2'
1>Stop.
1>Project : error PRJ0019: A tool returned an error code from
"Performing Makefile project actions"
1>Build log was saved at
"file://c:\projects\STC\STC-Routing\sandbox\TestCenter\content\cts\tsm\tools\tcl8.4.13\win\Debug\tcl_Static\BuildLog.htm"
1>tcl - 117 error(s), 48 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
.
- Follow-Ups:
- Re: Compile TCL8.4.13 using VS2005?
- From: Paul Obermeier
- Re: Compile TCL8.4.13 using VS2005?
- References:
- Compile TCL8.4.13 using VS2005?
- From: xman_11214
- Re: Compile TCL8.4.13 using VS2005?
- From: David Gravereaux
- Compile TCL8.4.13 using VS2005?
- Prev by Date: Re: Announce: tkpath 0.2
- Next by Date: Re: Announce: tkpath 0.2
- Previous by thread: Re: Compile TCL8.4.13 using VS2005?
- Next by thread: Re: Compile TCL8.4.13 using VS2005?
- Index(es):