Tk Source Code

View Ticket
Login
Ticket UUID: 2353856
Title: compile of TkUnixEvent.c fails fix inside
Type: Bug Version: obsolete: 8.6a3
Submitter: nobody Created on: 2008-11-27 16:17:45
Subsystem: 84. Unix Build Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-11-28 01:21:35
Resolution: Out of Date Closed By: ferrieux
    Closed on: 2008-11-27 18:21:35
Description:
Line 294 of tkUnixEvent.c is a call to Tcl_Panic

    Tcl_Panic("Wild GenericEvent; panic! (extension=%d,evtype=%d)"
    xgePtr->extension, xgePtr->evtype);

however this fails with a compile error because there is not comma "," after the first string arguement to Tcl_Panic. If the source is modified to include the comma then Tk compiles cleanly on Linux. 
i.e. 

    Tcl_Panic("Wild GenericEvent; panic! (extension=%d,evtype=%d)",
    xgePtr->extension, xgePtr->evtype);
User Comments: ferrieux added on 2008-11-28 01:21:35:
Get up to date. This was fixed on version 1.31 by Daniel:

 revision 1.31
 date: 2008/10/22 16:30:16;  author: das;  state: Exp;  lines: +2 -2
 fix GenericEvent Tcl_Panic error