| Description: |
OriginalBugID: 1920 Bug
Version: 8.1b3
SubmitDate: '1999-04-22'
LastModified: '1999-08-08'
Severity: CRIT
Status: Closed
Submitter: pat
ChangedBy: hobbs
RelatedBugIDs: 2425
OS: HP-UX
OSVersion: 10
Machine: Other
FixedInVersion: 8.2b2
ClosedDate: '1999-08-08'
Name:
Steve Mullerworth
Extensions:
None
CustomShell:
None
ReproducibleScript:
The errors are straightforward bugs
ObservedBehavior:
Compiling on HP-UX10:
There are two compile failures in tk relating to (void) arguments:
void TkEventInit(void)
void TkSelGetInProgress(void)cc:
The errors are resolved by deleting the void:
"../generic/tkEvent.c", line 424: error 1705: Function prototypes are an
ANSI feature.
When creating menus with -underlines, there is a failure when using
the Alt-<key> to open the menu (line 933 of menu.tcl):
can't read "i": no such variable
while executing
"$child cget $i -state"
("Menubutton" arm line 5)
invoked from within
"switch [winfo class $child] {
Menubutton {
set char2 [string index [$child cget -text] [$child cget
-underline]]
if {![string co..."
(procedure "tkMenuFind" line 39)
invoked from within
"tkMenuFind $child $char"
("default" arm line 2)
invoked from within
"switch [winfo class $child] {
Menubutton {
set char2 [string index [$child cget -text] [$child cget
-underline]]
if {![string co..."
(procedure "tkMenuFind" line 39)
invoked from within
"tkMenuFind $child $char"
("default" arm line 2)
invoked from within
"switch [winfo class $child] {
Menubutton {
set char2 [string index [$child cget -text] [$child cget
-underline]]
if {![string co..."
(procedure "tkMenuFind" line 39)
invoked from within
"tkMenuFind [winfo toplevel $w] $char"
(procedure "tkTraverseToMenu" line 16)
invoked from within
"tkTraverseToMenu . e"
(command bound to event)
Fixed in 8.2b2.
-- 08/08/1999 hobbs
|