summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-01-02 08:50:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-01-02 08:50:08 (GMT)
commit292e2af7bb58a0e65d97b00604f9e59dc2ffa9ce (patch)
treec0322c263b54294e9f551efb79ca7073ff20e204
parent61fd69a37510ad47b187a6072edf47a4aebc19ce (diff)
downloadtcl-292e2af7bb58a0e65d97b00604f9e59dc2ffa9ce.zip
tcl-292e2af7bb58a0e65d97b00604f9e59dc2ffa9ce.tar.gz
tcl-292e2af7bb58a0e65d97b00604f9e59dc2ffa9ce.tar.bz2
... and more silly errors
-rw-r--r--generic/tclExecute.c8
-rw-r--r--unix/Makefile.in1
2 files changed, 5 insertions, 4 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 94ddab1..37a7397 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -2788,7 +2788,7 @@ TEBCresume(
objPtr->internalRep.ptrAndLongRep.value = CURR_DEPTH;
objPtr->length = 0;
PUSH_TAUX_OBJ(objPtr);
- TRACE(("=> mark depth as %d\n", CURR_DEPTH));
+ TRACE(("=> mark depth as %d\n", (int) CURR_DEPTH));
NEXT_INST_F(1, 0, 0);
case INST_EXPAND_DROP:
@@ -5041,7 +5041,7 @@ TEBCresume(
}
TRACE(("\"%.20s\" \"%.20s\" => %d\n", O2S(valuePtr), O2S(value2Ptr),
- (match < 0 ? -1 : match > 0 : 1 : 0)));
+ (match < 0 ? -1 : match > 0 ? 1 : 0)));
JUMP_PEEPHOLE_F(match, 1, 2);
case INST_STR_LEN:
@@ -6195,8 +6195,8 @@ TEBCresume(
listTmpIndex++;
}
}
- TRACE_APPEND(("%d lists, iter %d, %s loop\n", opnd, numLists,
- iterNum, (continueLoop? "continue" : "exit")));
+ TRACE_APPEND(("%d lists, iter %d, %s loop\n",
+ numLists, iterNum, (continueLoop? "continue" : "exit")));
/*
* Run-time peep-hole optimisation: the compiler ALWAYS follows
diff --git a/unix/Makefile.in b/unix/Makefile.in
index a0d0c87..f74d516 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1195,6 +1195,7 @@ tclLoadDld.o: $(UNIX_DIR)/tclLoadDld.c
$(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tclLoadDld.c
tclLoadDyld.o: $(UNIX_DIR)/tclLoadDyld.c
+ @echo Warnings are expected from compiling tclLoadDyld.c: deprecated API use
$(CC) -c $(CC_SWITCHES) $(UNIX_DIR)/tclLoadDyld.c
tclLoadNone.o: $(GENERIC_DIR)/tclLoadNone.c