Artifacts Associated With Ticket 935160ffffffffffffffffffffffffffffffffff
Ticket change [55713a03cc] (rid 94136) by tauvan on 2004-04-14 19:52:09:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized to:
machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5 My (6) suggestion is: change: tclInt.decls, tclUnixPort.h, tclUnixThrd.c, tclIntPlatDecls.h to "CONST time_t *" from "time_t *" Solves: warning: passing arg 1 of `TclpGmtime' discards qualifiers from pointer target type warning: passing arg 1 of `TclpLocaltime' discards qualifiers from pointer target type Condition: "OSX warnings and errors (1)" not required "OSX warnings and errors (2)" performed quick fix performed Suggestion: All "TclpLocaltime(time_t *" to "TclpLocaltime(CONST time_t *" All "TclpGmtime(time_t *" to "TclpGmtime(CONST time_t *" struct tm * (*tclpLocaltime) _ANSI_ARGS_((CONST time_t * clock)); struct tm * (*tclpGmtime) _ANSI_ARGS_((CONST time_t * clock)); tools/genStubs.tcl should take care of tclIntPlatDecls.h Special Notes: OSX prototype for gmtime & localtime use "const time_t *" glibc uses "__const time_t *" Linux Programmer's Manual uses "const time_t *" Results from (6): trashed previous builds make -C ./tcl8.4.6/macosx develop ./build/tcl/tcltest ./tcl8.4.6/tests/all.tcl less warnings w & w/o (1) same Thanks. - foundin initialized to: "obsolete: 8.4.6"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tauvan"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "OSX warnings and errors (6)"
- type initialized to: "Bug"
Add attachment "c84b_OSX6.patch" [3a4441d8e3] (rid 112536) by tauvan on 2004-05-03 11:55:14.
Ticket change [84c7d47da1] (rid 117623) by tauvan on 2004-05-03 11:55:14:
- icomment:
File Added - 85906: c84b_OSX6.patch
- login: "tauvan"
- mimetype: "text/plain"
- username: "tauvan"
- icomment:
Ticket change [10be1c8951] (rid 95013) by tauvan on 2004-05-17 00:55:48:
- icomment:
Logged In: YES user_id=1011552 This report can be closed as it seems to be incorporated as of 2004-05-14. see changes in change log 2004-05-14 Kevin B. Kenny. It doesn't mention this bug, but it now rejects the attached patch and the keyword "CONST" seems to be applied. Thanks
- login: "tauvan"
- mimetype: "text/plain"
- username: "tauvan"
- icomment:
Ticket change [ea0ea3eaf4] (rid 104909) by tauvan on 2004-05-18 09:18:23:
- icomment:
Logged In: YES user_id=1011552 Addmendment: In response to 2004-05-17 Kevin B. Kenny changes Patch still invalid CONST should be removed in tclUnixPort.h references in tclUnixThrd.c to TclpLocaltime, TclpGmtime should be removed ...But, it looks like he passes TclpTime_t and immediatly converts to CONST time_t for all systems. Looks like extra work! Wouldn't it be better to pass CONST time_t?
- login: "tauvan"
- mimetype: "text/plain"
- username: "tauvan"
- icomment:
Ticket change [38d3c98745] (rid 112280) by dkf on 2004-05-18 15:08:16:
- closedate changed to: "2004-05-18T08:08:16"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 tauvan: 8.5 does just that, but 8.4 can't because of #include ordering issues on some platforms (IIRC Windows was one of those platforms) that were tricky enough to work around that we're not going to backport those particular changes. Luckily, a cast from TclpTime_t to time_t is actually free in all reasonable implementations... Fixed in HEAD and unfixable in 8.4-branch => closing bug...
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"