Skip to content
Tcl Source Code History Of Ticket 217959
Login

History Of Ticket 217959

Artifacts Associated With Ticket 217959

  1. Ticket change [66bc11f27d] (rid 102771) by nobody on 2000-10-26 00:46:38:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4211 RFE
      Version: 8.3
      SubmitDate: '2000-02-22'
      LastModified: '2000-03-31'
      Severity: MED
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 4234
      OS: All Windows
      FixedDate: '2000-10-25'
      ClosedDate: '2000-03-31'
      
      
      Name:
      Jan Nijtmans
      
      ReproducibleScript:
      When compiling Tcl8.3.0 with gcc-2.95.2-mingw serveral problems show up. For some of which gcc is to blame, for
      others Tcl is to blame. The two most notable things are:
      - environ, hypot and exception require an underscore both for VC++ and mingw.
      - when compiling without msvcrt.dll, the functions _beginsthreadex() and _endthreades() are missing
      This patch fixes both of those problems. The use of CreateThread() and ExitThread() introduce
      memory leaks, but that's better than not compile at all.
      
      Patch:
      *** win/tclWinPort.h.origFri Oct 29 05:05:13 1999
      --- win/tclWinPort.hSun Feb 20 10:13:22 2000
      ***************
      *** 335,346 ****
         * EDEADLK as the same value, which confuses Tcl_ErrnoId().
         */
      
      ! #ifdef _MSC_VER
        #    define environ _environ
        #    define hypot _hypot
        #    define exception _exception
        #    undef EDEADLOCK
      ! #endif /* _MSC_VER */
      
        /*
         *---------------------------------------------------------------------------
      --- 335,351 ----
         * EDEADLK as the same value, which confuses Tcl_ErrnoId().
         */
      
      ! #if defined (_MSC_VER) || defined (__MINGW32__)
        #    define environ _environ
        #    define hypot _hypot
        #    define exception _exception
        #    undef EDEADLOCK
      ! #endif /* _MSC_VER || __MINGW32__ */
      ! 
      ! #if defined (__MINGW32__) && !defined (__MSVCRT__)
      ! #define _beginthreadex(a,b,c,d,e,f) CreateThread(a,b,c,(DWORD *)d,e,(DWORD *)f)
      ! #define _endthreadex(a) ExitThread(a)
      ! #endif
      
        /*
         *---------------------------------------------------------------------------
      
      PatchFiles:
      tclWinPort.h
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.3"
    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: "75. Tutorial"
    10. title initialized to: "More fixes for gcc-2.95.2-mingw"
    11. type initialized to: "Bug"
  2. Ticket change [2b168683eb] (rid 118677) by welch on 2000-10-26 08:10:56:

    1. closedate changed to: "2000-10-26T01:10:56"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [bfcafdc5ca] (rid 102308) by dgp on 2001-04-05 06:55:06:

    1. closedate changed to: "2001-04-04T23:55:06"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"