trunk: mac os x: compilation warnings
Closed / Fixed77f1088210fd739eef882f5347f1c6876e519689Created 8 years agoUpdated 8 years ago
Descriptionplain2018-10-19 20:25:20
/Users/bll/t/tcl-work/tcl8.6.8/generic/tclExecute.c:8921:22: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
assert (pcOffset < codePtr->numCodeBytes);
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
^
1 warning generated.
repository: /Users/bll/t/tcl-work/tcl8.6.8/../../tcl.fossil
local-root: /Users/bll/t/tcl-work/tcl8.6.8/
config-db: /Users/bll/.fossil
checkout: 8c57795bed7a071801d65179a0e9b030a4bec908 2018-10-19 15:53:14 UTC
parent: 95c347853047dbe5b817e5807e99923c8a1a7f63 2018-10-18 18:25:22 UTC
merged-from: 91d01941b76779d73a4f99cc0a6048884b122b42 2018-10-19 15:52:42 UTC
merged-into: 62d8b86bae750540954eef4774c45771de7f2963 2018-10-19 19:21:09 UTC
merged-into: 745d651613b1c48cbd8ef344f02c678b86722f9e 2018-10-19 16:09:51 UTC
tags: trunk
comment: Merge 8.7 (user: jan.nijtmans)
EDITED library/init.tcl
bllplain2018-10-19 20:25:37
assign to jan.
bllplain2018-10-19 20:28:06
/Users/bll/t/tcl-work/tcl8.6.8/unix/tclUnixThrd.c:168:26: warning: unused variable 'dataKey' [-Wunused-variable]
static Tcl_ThreadDataKey dataKey;
^
1 warning generated.
jan.nijtmanswiki2018-10-19 21:15:57
Should be fixed in [bac617bc8b5d8f81]. Thanks for the report!
(Mac compilation gives more warnings than only those, those two I didn't spot yet)
Log in (anonymous is fine) to add a comment.