home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!eco.twg.com!twg.com!news
- From: "David Herron" <david@twg.com>
- Subject: tk3.0 on Sun 386i
- Message-ID: <1992Dec19.010521.10722@twg.com>
- Sensitivity: Personal
- Encoding: 86 TEXT , 4 TEXT
- Sender: news@twg.com (USENET News System)
- Conversion: Prohibited
- Organization: The Wollongong Group, Inc., Palo Alto, CA
- Conversion-With-Loss: Prohibited
- Date: Sat, 19 Dec 1992 01:10:19 GMT
- Lines: 91
-
- Yes, my workstation's a 386i .. ohwell.
-
- Anyway I am compiling tk3.0 & tcl6.5 on it with the supplied /bin/cc
- and have come across a couple of problems.
-
- One was the `cp -f' stuff in tk3.0/tcl/Makefile.
-
- In tkEvent.c at lines 823, 825 and 838 are some ?: operations whose result
- was (int *) but used NULL directly. The compiler insisted this was wrong
- and stopped. So casting the NULL like the following is dunky-hoary:
-
- exceptPtr = (exceptCount == 0 ? (int *)NULL : &ready[2*MASK_SIZE]);
- ^^^^^^^ Added cast.
-
- The TK test scripts failed all over itself in pack.test. None appear to
- be real problems tho' ..
-
-
-
- ==== pack-8.13 syntax errors
- ==== Contents of test case:
-
- set msg ""
- set result [catch {pack append . .pack.blue top} msg]
-
- ==== Result was:
- 1 tried to pack ".pack.blue" in window that isn't its parent
- ---- Result should have been:
- 1 can't pack .pack.blue inside .
- ---- pack-8.13 FAILED
-
-
- ==== pack-8.17 syntax errors
- ==== Contents of test case:
-
- set msg ""
- set result [catch {pack append .pack .pack.blue {padx -2}} msg]
- concat $result $msg
-
- ==== Result was:
- 1 bad pad value "-2": must be positive integer
- ---- Result should have been:
- 1 bad pad value "-2": must be positive screen distance
- ---- pack-8.17 FAILED
-
-
- ==== pack-8.18 syntax errors
- ==== Contents of test case:
-
- set msg ""
- set result [catch {pack append .pack .pack.blue {padx}} msg]
- concat $result $msg
-
- ==== Result was:
- 1 wrong # args: "padx" option must be followed by count
- ---- Result should have been:
- 1 wrong # args: "padx" option must be followed by screen distance
- ---- pack-8.18 FAILED
-
-
- ==== pack-8.19 syntax errors
- ==== Contents of test case:
-
- set msg ""
- set result [catch {pack append .pack .pack.blue {pady -2}} msg]
- concat $result $msg
-
- ==== Result was:
- 1 bad pad value "-2": must be positive integer
- ---- Result should have been:
- 1 bad pad value "-2": must be positive screen distance
- ---- pack-8.19 FAILED
-
-
- ==== pack-8.20 syntax errors
- ==== Contents of test case:
-
- set msg ""
- set result [catch {pack append .pack .pack.blue {pady}} msg]
- concat $result $msg
-
- ==== Result was:
- 1 wrong # args: "pady" option must be followed by count
- ---- Result should have been:
- 1 wrong # args: "pady" option must be followed by screen distance
- ---- pack-8.20 FAILED
-
- <- David Herron <david@twg.com> (work) <david@davids.mmdf.com> (home)
- <-
- <- During the '80s Usenet's mantra was: "Not all the world's a VAX".
- <- During the '90s I hope it becomes: "Not all the world's DOS (ick)".
-