Artifacts Associated With Ticket 1387164
Ticket change [be549ca92d] (rid 102055) by nobody on 2005-12-21 14:57:38:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
From: [email protected] Cygwin has an external variable called _timezone instead of timezone, with a type of long instead of int. To reproduce the problem, attempt to build tclsh from source (tcl8.4.12) on Cygwin using gcc. My version of Cygwin (according to uname -a): CYGWIN_NT-5.1 frb3250bd1 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin My version of gcc: gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) My configuration command was ./configure \ --prefix=$HOME \ --bindir=$HOME/bin/i386/cygwin \ --sbindir=$HOME/bin/i386/cygwin \ --libexecdir=$HOME/lib/i386/cygwin \ --libdir=$HOME/lib/i386/cygwin \ --program-suffix=.exe but I believe the problem is independent of the specific configuration. gcc then fails to compile generic/tclClock.c, giving these error messages (slightly abbreviated): ../generic/tclClock.c: In function `FormatClock': ../generic/tclClock.c:314: warning: assignment makes integer from pointer without a cast ../generic/tclClock.c:315: error: invalid lvalue in assignment ../generic/tclClock.c:360: error: invalid lvalue in assignment This is a workaround which just defines timezone as _timezone and introduces a TIMEZONE_t type, which is long for Cygwin and int everywhere else.
- foundin initialized to: "obsolete: 8.4.12"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "Workaround for Cygwin timezone incompatibility"
- type initialized to: "Bug"
Ticket change [cf05029343] (rid 112885) by nobody on 2005-12-21 21:57:38:
- icomment:
File Added - 160689: diffs
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Add attachment "diffs" [015d4356a8] (rid 119469) by nobody on 2005-12-21 21:57:38.
Ticket change [e56cd9907f] (rid 104115) by dkf on 2005-12-21 22:23:26:
- assignee changed to: "kennykb"
- closedate changed to: "2005-12-21T15:23:26"
- closer changed to: "dkf"
- resolution changed to: "Duplicate"
- status changed to: "Closed"