Skip to content
Tcl Source Code History Of Ticket 1001319fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1001319fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1001319fffffffffffffffffffffffffffffffff

  1. Ticket change [79a05aaa4f] (rid 90160) by nobody on 2004-07-31 22:47:07:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.4.7"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "49. Threading"
    10. title initialized to: "minor bug in threading code"
    11. type initialized to: "Bug"
  2. Ticket change [6a6f357e91] (rid 128147) by vasiljevic on 2004-10-20 16:21:15:

    1. assignee changed to: "kennykb"
    2. icomment:
      Logged In: YES 
      user_id=95086
      
      I have looked around and according to ChangeLog 
      file, those have been modified by: 
       
      2004-05-14  Kevin B. Kenny  <[email protected]> 
       
              * generic/tclInt.decls:      Promoted TclpLocaltime and TclpGmtime 
              * generic/tclIntDecls.h:     from Unix-specific stubs to the generic 
              * generic/tclIntPlatDecls.h: internal Stubs table.  Reran 'genstubs' 
              * generic/tclStubInit.c: 
              * unix/tclUnixPort.h: 
       
      So, I suggest, Kevin should take care of that. My first thought 
      was to simple remove the CONST qualifier from the prototype 
      declaraion in unix/tclUnixPort.h but I'm not sure if this is the 
      right way. 
      
      
    3. login: "vasiljevic"
    4. mimetype: "text/plain"
    5. username: "vasiljevic"
  3. Ticket change [dae5eda288] (rid 107866) by kennykb on 2004-10-28 23:13:11:

    1. closedate changed to: "2004-10-28T16:13:11"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      
      Hmm, never met a compiler that pedantic before.
      
      The param should be CONST throughout.
      
      Can someone check this out on Irix? The 8.4 branch tip
      appears to be ok on Linux, Solaris and Windows, but
      I haven't an Irix to test it.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "kennykb"
  4. Ticket change [82c214d0ab] (rid 117280) by dgp on 2004-10-28 23:28:14:

    1. assignee changed to: "dgp"
  5. Ticket change [10131be9e9] (rid 94907) by dgp on 2004-10-28 23:28:15:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      I'll see what I can do about an Irix test.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [4f86de4974] (rid 125844) by dgp on 2004-10-29 00:11:50:

    1. assignee changed to: "kennykb"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Tcl 8.4.8 in a --enable-threads
      configuration builds fine on an
      IRIX64 6.5 system I have access to.
      
      `make test` shows only one
      failed test, clock-41.1.
      Apparently IRIX does not support the %k format.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"