Overview
| Artifact ID: | 55713a03ccf1f19a42815d9517fd3e2b0fa1af8b |
|---|---|
| Ticket: | 935160ffffffffffffffffffffffffffffffffff
OSX warnings and errors (6) |
| User & Date: | tauvan on 2004-04-14 19:52:09 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.4.6"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "tauvan"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "OSX warnings and errors (6)"
- type changed to: "Bug"