Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 79a05aaa4f1397659190fdfec95992d395bc6442
Ticket: 1001319fffffffffffffffffffffffffffffffff
minor bug in threading code
User & Date: nobody on 2004-07-31 22:47:07
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When compiling tcl 8.4.7 on IRIX 5.3 with --enable-threads one ends up with
    cfe: Error: ./../generic/../unix/tclUnixPort.h, line 568: redeclaration of 'TclpLocaltime'; previous declaration at line 515 in file './../generic/tclIntDecls.h'
     extern     struct tm *         TclpLocaltime(const  TclpTime_t);
     ---------------------------    ^
    cfe: Error: ./../generic/../unix/tclUnixPort.h, line 568: Incompatible type for the function parameter
     extern     struct tm *         TclpLocaltime(const  TclpTime_t);
     ---------------------------    --------------^
    cfe: Error: ./../generic/../unix/tclUnixPort.h, line 571: redeclaration of 'TclpGmtime'; previous declaration at line 517 in file './../generic/tclIntDecls.h'
     extern     struct tm *         TclpGmtime(const  TclpTime_t);
     ---------------------------    ^
    cfe: Error: ./../generic/../unix/tclUnixPort.h, line 571: Incompatible type for the function parameter
     extern     struct tm *         TclpGmtime(const  TclpTime_t);
     ---------------------------    -----------^
    *** Error code 1 (bu21)
    
    The reason is that TclpLocaltime and TclpGmtime are defined with a const argument at one point and without one at another.
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "minor bug in threading code"
  11. type changed to: "Bug"