Artifacts Associated With Ticket 1001319
Ticket change [79a05aaa4f] (rid 90160) by nobody on 2004-07-31 22:47:07:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "obsolete: 8.4.7"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "49. Threading"
- title initialized to: "minor bug in threading code"
- type initialized to: "Bug"
Ticket change [6a6f357e91] (rid 128147) by vasiljevic on 2004-10-20 16:21:15:
- assignee changed to: "kennykb"
- 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.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
Ticket change [dae5eda288] (rid 107866) by kennykb on 2004-10-28 23:13:11:
- closedate changed to: "2004-10-28T16:13:11"
- closer changed to: "kennykb"
- 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.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"
Ticket change [82c214d0ab] (rid 117280) by dgp on 2004-10-28 23:28:14:
- assignee changed to: "dgp"
Ticket change [10131be9e9] (rid 94907) by dgp on 2004-10-28 23:28:15:
- icomment:
Logged In: YES user_id=80530 I'll see what I can do about an Irix test.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [4f86de4974] (rid 125844) by dgp on 2004-10-29 00:11:50:
- assignee changed to: "kennykb"
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"