Tcl Source Code

Check-in [921a289f09]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:bug #1571954: avoid /RTCc flag with MSVC8
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tip-278-branch-root
Files: files | file ages | folders
SHA1: 921a289f099db247dcbc819160b427b060fe70af
User & Date: patthoyts 2006-10-06 14:14:29
Context
2006-10-09
19:31
== == updated to tag tip-278-20061009 ==

2006-10-09 Miguel Sofer <[email protected]>

* ...
check-in: 873ef4830e user: msofer tags: tip-278-branch
19:15
* tests/*.test: updated all tests to refer explicitly to the global variables ::errorInfo, ::error...
check-in: a8fcd798f4 user: msofer tags: trunk, tip-278-20061009
2006-10-06
14:14
bug #1571954: avoid /RTCc flag with MSVC8 check-in: 921a289f09 user: patthoyts tags: trunk, tip-278-branch-root
13:37
TIP #275: Support unsigned values in binary command check-in: 42dcb6f5f3 user: patthoyts tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ChangeLog.

            1  +2006-10-06  Pat Thoyts  <[email protected]>
            2  +
            3  +	* win/rules.vc: bug #1571954: avoid /RTCc flag with MSVC8
            4  +
     1      5   2006-10-06  Pat Thoyts  <[email protected]>
     2      6   
     3      7   	* doc/binary.n:        TIP #275: Support unsigned values in
     4      8   	* generic/tclBinary.c: binary command. Tests and documentation
     5      9   	* tests/binary.test:   updated.
     6     10   
     7     11   2006-10-05  Andreas Kupries  <[email protected]>

Changes to win/nmakehlp.c.

     6      6    *
     7      7    * Copyright (c) 2002 by David Gravereaux.
     8      8    *
     9      9    * See the file "license.terms" for information on usage and redistribution
    10     10    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    11     11    *
    12     12    * ----------------------------------------------------------------------------
    13         - * RCS: @(#) $Id: nmakehlp.c,v 1.10 2006/09/26 20:47:03 patthoyts Exp $
           13  + * RCS: @(#) $Id: nmakehlp.c,v 1.11 2006/10/06 14:14:29 patthoyts Exp $
    14     14    * ----------------------------------------------------------------------------
    15     15    */
    16     16   
    17     17   #define _CRT_SECURE_NO_DEPRECATE
    18     18   #include <windows.h>
    19     19   #include <shlwapi.h>
    20     20   #pragma comment (lib, "user32.lib")
................................................................................
   403    403       char *lastBuf = pi->buffer;
   404    404       DWORD dwRead;
   405    405       BOOL ok;
   406    406   
   407    407     again:
   408    408       if (lastBuf - pi->buffer + CHUNK > STATICBUFFERSIZE) {
   409    409   	CloseHandle(pi->pipe);
   410         -	return -1;
          410  +	return (DWORD)-1;
   411    411       }
   412    412       ok = ReadFile(pi->pipe, lastBuf, CHUNK, &dwRead, 0L);
   413    413       if (!ok || dwRead == 0) {
   414    414   	CloseHandle(pi->pipe);
   415    415   	return 0;
   416    416       }
   417    417       lastBuf += dwRead;

Changes to win/rules.vc.

     7      7   # See the file "license.terms" for information on usage and redistribution
     8      8   # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
     9      9   # 
    10     10   # Copyright (c) 2001-2003 David Gravereaux.
    11     11   # Copyright (c) 2003-2006 Patrick Thoyts
    12     12   #
    13     13   #------------------------------------------------------------------------------
    14         -# RCS: @(#) $Id: rules.vc,v 1.25 2006/09/26 20:47:03 patthoyts Exp $
           14  +# RCS: @(#) $Id: rules.vc,v 1.26 2006/10/06 14:14:29 patthoyts Exp $
    15     15   #------------------------------------------------------------------------------
    16     16   
    17     17   !ifndef _RULES_VC
    18     18   _RULES_VC = 1
    19     19   
    20     20   cc32		= $(CC)   # built-in default.
    21     21   link32		= link
................................................................................
   117    117   
   118    118   !if [nmakehlp -c -RTC1]
   119    119   DEBUGFLAGS     = $(DEBUGFLAGS) -RTC1
   120    120   !elseif [nmakehlp -c -GZ]
   121    121   DEBUGFLAGS     = $(DEBUGFLAGS) -GZ
   122    122   !endif
   123    123   
   124         -!if [nmakehlp -c -RTCc]
   125         -DEBUGFLAGS     = $(DEBUGFLAGS) -RTCc
   126         -!endif
   127         -
   128    124   COMPILERFLAGS  =-W3
   129    125   
   130    126   !if [nmakehlp -c -YX]
   131    127   OPTIMIZATIONS  = $(OPTIMIZATIONS) -YX
   132    128   !endif
   133    129   
   134    130   !if "$(MACHINE)" == "IX86"