Tcl Source Code

View Ticket
Login
Ticket UUID: 1738542
Title: build breaks in HEAD threaded debug build
Type: Bug Created on: 2007-06-17 05:14:30
Submitter: mistachkin Assigned to: dkf
Subsystem: 47. Bytecode Compiler Severity:
Priority: 7 High Last modified: 2007-06-18 16:33:59
Status: Closed Closed by: dkf
Resolution: Fixed Closed on: 2007-06-18 09:33:59
Version: obsolete: 8.5a7
Description:
..\generic\tclExecute.c(2897) : error C2143: syntax error : missing ';' before 'string'
..\generic\tclExecute.c(2897) : warning C4550: expression evaluates to a function which is missing an argument list

The problem is:

TRACE("variable ");

Which apparently should be:

TRACE(("variable "));

..\generic\tclProc.c(1579) : error C2065: 'i' : undeclared identifier

Here, the variable "i" is used without having first been declared:

for (i = 0; i < framePtr->objc; i++) {

Locally, I changed the following:

#if defined(TCL_COMPILE_DEBUG)
if (tclTraceExec >= 1) {
 register CallFrame *framePtr = ((Interp *)interp)->varFramePtr;
 register int i; /* <-- newly added line. */