Skip to content
Tcl Source Code History Of Ticket 1387154
Login

History Of Ticket 1387154

Artifacts Associated With Ticket 1387154

  1. Ticket change [66fedb9179] (rid 102823) by nobody on 2005-12-21 14:41:40:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.4.12"
    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: "52. Portability Support"
    10. title initialized to: "Workaround for Cygwin timezone incompatibility"
    11. type initialized to: "Bug"
  2. Add attachment "diffs" [f132776d13] (rid 109326) by nobody on 2005-12-21 21:41:40.

  3. Ticket change [a35e8b288c] (rid 110037) by nobody on 2005-12-21 21:41:41:

    1. icomment:
      
      
      File Added - 160686: diffs
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  4. Ticket change [413522d2b8] (rid 116148) by dkf on 2005-12-21 22:23:40:

    1. assignee changed to: "kennykb"
  5. Ticket change [43c8a689c5] (rid 116620) by kennykb on 2005-12-23 22:11:19:

    1. icomment:
      Logged In: YES 
      user_id=99768
      
      Uhm, which configurator am I supposed to use in this exercise?
      
      unix/configure or win/configure?
      
      Oh my, am I glad this code isn't in the HEAD.  :)
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  6. Ticket change [286d5c037b] (rid 88696) by kennykb on 2007-04-22 05:43:00:

    1. closedate changed to: "2007-04-21T22:43:00"
    2. closer changed to: "kennykb"
    3. resolution changed to: "Accepted"
    4. status changed to: "Closed"