Validating tcllib 1.4.0.1 development -- struct =================================================== 1: Existence of testsuites ... ------------------------------------------------------ ------------------------------------------------------ 2: Existence of package indices ... ------------------------------------------------------ ------------------------------------------------------ 3: Consistency of package versions ... ------------------------------------------------------ ------------------------------------------------------ ------------------------------------------------------ ------------------------------------------------------ 4: Existence of documentation ... ------------------------------------------------------ ------------------------------------------------------ 5: Validate documentation markup (doctools) ... ------------------------------------------------------ Gen (null): ./modules/struct/graph.man Gen (null): ./modules/struct/matrix.man Gen (null): ./modules/struct/pool.man Gen (null): ./modules/struct/prioqueue.man Gen (null): ./modules/struct/queue.man Gen (null): ./modules/struct/record.man Gen (null): ./modules/struct/skiplist.man Gen (null): ./modules/struct/stack.man Gen (null): ./modules/struct/struct_list.man Gen (null): ./modules/struct/struct_tree.man ------------------------------------------------------ 6: Static syntax check ... ------------------------------------------------------ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/graph.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** ./modules/struct/graph.tcl Warning : return used outside a proc body (line 24) FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/list.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/matrix.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/pkgIndex.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** ./modules/struct/pkgIndex.tcl Warning : return used outside a proc body (line 11) FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/pool.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::create (line 158) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::destroy (line 261) *** ./modules/struct/pool.tcl Warning : Parameter 1 of unset call may get taken as a switch (>8.4) in proc ::struct::pool::destroy (line 270) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on unset may not be a variable name in proc ::struct::pool::destroy (line 270) *** ./modules/struct/pool.tcl Warning : Parameter 1 of unset call may get taken as a switch (>8.4) in proc ::struct::pool::destroy (line 271) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on unset may not be a variable name in proc ::struct::pool::destroy (line 271) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::add (line 294) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::clear (line 358) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::info (line 409) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::maxsize (line 474) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::release (line 512) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::remove (line 553) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::pool::request (line 630) *** ./modules/struct/pool.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::pool::request (line 660) FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/pooltest.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/prioqueue.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/queue.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/record.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Create (line 293) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on lappend may not be a variable name in proc ::struct::record::Create (line 349) *** ./modules/struct/record.tcl Warning : inconsistent return of values in proc ::struct::record::Create (line 359) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Access (line 407) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Access (line 410) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Show (line 560) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Show (line 566) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Show (line 574) *** ./modules/struct/record.tcl Warning : Parameter 1 of unset call may get taken as a switch (>8.4) in proc ::struct::record::Delete (line 635) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on unset may not be a variable name in proc ::struct::record::Delete (line 635) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Delete (line 637) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Delete (line 638) *** ./modules/struct/record.tcl Warning : Parameter 1 of call on set may not be a variable name in proc ::struct::record::Delete (line 638) FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/skiplist.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** ./modules/struct/skiplist.tcl Warning : expr body not braced. in proc ::struct::skiplist::skiplist (line 94) *** ./modules/struct/skiplist.tcl Warning : expr body not braced. in proc ::struct::skiplist::skiplist (line 101) *** ./modules/struct/skiplist.tcl Warning : expr body not braced. in proc ::struct::skiplist::randomLevel (line 389) FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/stack.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/struct.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRINK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/tree.tcl... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_children (line 164) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_cut (line 191) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_cut (line 192) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_delete (line 243) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_delete (line 244) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_depth (line 293) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::__generateUniqueNodeName (line 343) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_index (line 470) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_index (line 471) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_insert (line 514) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_insert (line 515) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_isleaf (line 586) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_move (line 614) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_move (line 615) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_next (line 688) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_next (line 689) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_numchildren (line 714) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_previous (line 760) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_previous (line 761) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_size (line 927) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_splice (line 973) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_splice (line 974) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_swap (line 1026) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_swap (line 1027) *** ./modules/struct/tree.tcl Warning : Parameter 1 of call on variable may not be a variable name in proc ::struct::tree::_walk (line 1193) ------------------------------------------------------ PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/graph.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/graph.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/graph.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/list.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/list.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/list.tcl ./modules/struct/list.tcl:783 (warnUndefProc) undefined procedure: ::cmdline::getopt ::cmdline::getopt args {inner left right full keys.arg} opt arg ^ PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/matrix.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/matrix.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/matrix.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/pkgIndex.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/pkgIndex.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/pkgIndex.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/pool.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/pool.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/pool.tcl ./modules/struct/pool.tcl:158 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:261 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:294 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:358 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:409 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:474 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:512 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:553 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:630 (warnVarRef) variable reference used where variable name expected variable $poolname ^ ./modules/struct/pool.tcl:654 (warnUndefProc) undefined procedure: cmdline::getoptions cmdline::getoptions args { \ ^ ./modules/struct/pool.tcl:660 (warnVarRef) variable reference used where variable name expected set $key $value ^ PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/pooltest.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/pooltest.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/pooltest.tcl ./modules/struct/pooltest.tcl:5 (warnUndefProc) undefined procedure: pool pool CarPool ^ ./modules/struct/pooltest.tcl:7 (warnUndefProc) undefined procedure: CarPool CarPool add Toyota Volkswagen Chrysler Trabant ^ ./modules/struct/pooltest.tcl:50 (warnUndefProc) undefined procedure: pool::create pool::create existvar ^ ./modules/struct/pooltest.tcl:69 (warnUndefProc) undefined procedure: pool::destroy pool::destroy NonExistentPool ^ PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/prioqueue.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/prioqueue.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/prioqueue.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/queue.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/queue.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/queue.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/record.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/record.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/record.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/skiplist.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/skiplist.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/skiplist.tcl ./modules/struct/skiplist.tcl:94 (warnExpr) use curly braces to avoid double substitution expr $value ^ ./modules/struct/skiplist.tcl:101 (warnExpr) use curly braces to avoid double substitution expr $value ^ PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/stack.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/stack.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/stack.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/struct.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/struct.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/struct.tcl PROCHECK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./modules/struct/tree.tcl ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scanning: /home/tcl/projects/doctools/tcllib/modules/struct/tree.tcl checking: /home/tcl/projects/doctools/tcllib/modules/struct/tree.tcl ------------------------------------------------------