Tcl Source Code

Check-in [921a289f09]
Login

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

Overview
Comment:bug #1571954: avoid /RTCc flag with MSVC8
Downloads: Tarball | ZIP 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.000
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
Side-by-Side Diff Ignore Whitespace Patch
Changes to ChangeLog.




1
2
3
4
5
6
7
1
2
3
4
5
6
7
8
9
10
11
+
+
+
+







2006-10-06  Pat Thoyts  <[email protected]>

	* win/rules.vc: bug #1571954: avoid /RTCc flag with MSVC8

2006-10-06  Pat Thoyts  <[email protected]>

	* doc/binary.n:        TIP #275: Support unsigned values in
	* generic/tclBinary.c: binary command. Tests and documentation
	* tests/binary.test:   updated.

2006-10-05  Andreas Kupries  <[email protected]>
Changes to win/nmakehlp.c.
1
2
3
4
5
6
7
8
9
10
11
12
13

14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
10
11
12

13
14
15
16
17
18
19
20












-
+







/*
 * ----------------------------------------------------------------------------
 * nmakehlp.c --
 *
 *	This is used to fix limitations within nmake and the environment.
 *
 * Copyright (c) 2002 by David Gravereaux.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * ----------------------------------------------------------------------------
 * RCS: @(#) $Id: nmakehlp.c,v 1.10 2006/09/26 20:47:03 patthoyts Exp $
 * RCS: @(#) $Id: nmakehlp.c,v 1.11 2006/10/06 14:14:29 patthoyts Exp $
 * ----------------------------------------------------------------------------
 */

#define _CRT_SECURE_NO_DEPRECATE
#include <windows.h>
#include <shlwapi.h>
#pragma comment (lib, "user32.lib")
403
404
405
406
407
408
409
410

411
412
413
414
415
416
417
403
404
405
406
407
408
409

410
411
412
413
414
415
416
417







-
+







    char *lastBuf = pi->buffer;
    DWORD dwRead;
    BOOL ok;

  again:
    if (lastBuf - pi->buffer + CHUNK > STATICBUFFERSIZE) {
	CloseHandle(pi->pipe);
	return -1;
	return (DWORD)-1;
    }
    ok = ReadFile(pi->pipe, lastBuf, CHUNK, &dwRead, 0L);
    if (!ok || dwRead == 0) {
	CloseHandle(pi->pipe);
	return 0;
    }
    lastBuf += dwRead;
Changes to win/rules.vc.
1
2
3
4
5
6
7
8
9
10
11
12
13
14

15
16
17
18
19
20
21
1
2
3
4
5
6
7
8
9
10
11
12
13

14
15
16
17
18
19
20
21













-
+







#------------------------------------------------------------------------------
# rules.vc --
#
#	Microsoft Visual C++ makefile include for decoding the commandline
#	macros.  This file does not need editing to build Tcl.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
# 
# Copyright (c) 2001-2003 David Gravereaux.
# Copyright (c) 2003-2006 Patrick Thoyts
#
#------------------------------------------------------------------------------
# RCS: @(#) $Id: rules.vc,v 1.25 2006/09/26 20:47:03 patthoyts Exp $
# RCS: @(#) $Id: rules.vc,v 1.26 2006/10/06 14:14:29 patthoyts Exp $
#------------------------------------------------------------------------------

!ifndef _RULES_VC
_RULES_VC = 1

cc32		= $(CC)   # built-in default.
link32		= link
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
117
118
119
120
121
122
123




124
125
126
127
128
129
130







-
-
-
-








!if [nmakehlp -c -RTC1]
DEBUGFLAGS     = $(DEBUGFLAGS) -RTC1
!elseif [nmakehlp -c -GZ]
DEBUGFLAGS     = $(DEBUGFLAGS) -GZ
!endif

!if [nmakehlp -c -RTCc]
DEBUGFLAGS     = $(DEBUGFLAGS) -RTCc
!endif

COMPILERFLAGS  =-W3

!if [nmakehlp -c -YX]
OPTIMIZATIONS  = $(OPTIMIZATIONS) -YX
!endif

!if "$(MACHINE)" == "IX86"