Artifacts Associated With Ticket 1096916
Ticket change [01dc24ea16] (rid 119558) by patthoyts on 2005-01-06 02:42:34:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
NOTE: this patch is provided to record the modifications required. It is not intended to actually be applied until this compiler is officially released. This patch contains a number of changes required to compile Tcl using Microsoft Visual C++ 8 which is currently provided as part of the Microsoft Visual Studio 2005 Beta. To summarize: regerror.c: errcode is a typedef declared in the windows headers. tclWinPort.h: A large number of C library functions have been marked as depreciated as part of some secure programming drive at MS. This suppresses the warnings. tcl.h: By default time_t is declared as a 64 bit value. Tcl can't cope with this so we define _USE_32BIT_TIME_T. This means we must use a compatible struct version for Tcl_StatBuf nmakehlp.c: The error codes have changed. rules.vc: makefile.vc: We need more options checking as a number have been removed. The result is that Tcl now compiles without warnings. There are 11 test suite failures and one crash. The crash is caused by the C runtime when we try to convert an illegal time value ( a legitimate test - blame microsoft). The other failures are due to some change in the putenv() function which appears to no longer be changing the environment.
- foundin initialized to: "None"
- priority initialized to: "1 Zero"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "patthoyts"
- subsystem initialized to: "53. Configure and Build Tools"
- title initialized to: "Support build with MSVC++ 8"
- type initialized to: "Patch"
Add attachment "msvc8.patch" [deb7daec95] (rid 114900) by patthoyts on 2005-01-06 09:42:36.
Ticket change [3f2adacedb] (rid 121408) by patthoyts on 2005-01-06 09:42:36:
- icomment:
File Added - 114692: msvc8.patch
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [2e14ef8f97] (rid 119164) by patthoyts on 2005-05-26 21:30:10:
- icomment:
Logged In: YES user_id=202636 The crash mentioned about was indeed a but in Microsoft's C library shipped with the above compiler. MS replied to me that this has been fixed so more recent versions should be ok.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [48923670bc] (rid 99912) by hobbs on 2005-05-27 00:29:10:
- icomment:
Logged In: YES user_id=72656 So an updated patch is needed right - 64-bit time_t *should* work in Tcl (as Solaris 64 bit uses it, among other 64-bit OSes).
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [f762639ffe] (rid 91373) by jjmcwill on 2005-05-27 00:51:18:
- icomment:
Logged In: YES user_id=1285984 Which specific version of the compiler were you using? I'm using the VS.NET 2005 Beta 2. cl.exe emits the following version: 14.00.50215.44 for X64.
- login: "jjmcwill"
- mimetype: "text/plain"
- username: "jjmcwill"
- icomment:
Ticket change [e35369dac1] (rid 87778) by jjmcwill on 2005-05-27 01:24:58:
- icomment:
Logged In: YES user_id=1285984 Which version of the compiler are you referring to with the bugs, Pat? I'm using VS.NET 2005 Beta 2. cl yields: Version 14.00.50215.44 for X64 Jeff
- login: "jjmcwill"
- mimetype: "text/plain"
- username: "jjmcwill"
- icomment:
Ticket change [d5f22fa4c1] (rid 123724) by patthoyts on 2005-06-05 08:07:51:
- icomment:
Logged In: YES user_id=202636 I originally developed this patch on the beta1 release - version 14.00.40607.16 for 80x86. I have recently installed the beta 2 release which is version 14.00.50215.44 and this is almost identical as far as I can see. I raised the following bug with MS: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=7a8c7299-f442-4d8e-95b4-9743ead00f33 but while they state this is fixed -- I find this not to be the case.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Add attachment "msvc8_2.patch" [1f96114915] (rid 91172) by nobody on 2005-11-03 03:43:01.
Ticket change [be67df7a1d] (rid 102068) by nobody on 2005-11-03 03:43:18:
- icomment:
File Added - 154806: msvc8_2.patch
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [2e5eae42e4] (rid 119209) by patthoyts on 2005-11-03 06:11:27:
- icomment:
Logged In: YES user_id=202636 Final version - the env.test failures were due to the test interpreter removing an essential environment variable (SYSTEMROOT). We have had to add a few casts to avoid complaints about assigning from the 64bit time_t to int or long. Microsoft fixed the mktime() crashing issue reported above.
- login: "patthoyts"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "patthoyts"
- icomment:
Add attachment "msvc8_3.patch" [f6383b4ff6] (rid 130256) by patthoyts on 2005-11-03 06:11:34.
Ticket change [d9a9bcf130] (rid 107644) by patthoyts on 2005-11-03 06:11:35:
- icomment:
File Added - 154830: msvc8_3.patch
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [af8a3bd506] (rid 97827) by patthoyts on 2005-11-03 07:18:40:
- closedate changed to: "2005-11-03T00:18:40"
- closer changed to: "patthoyts"
- icomment:
Logged In: YES user_id=202636 Now that MSVC8 has been release - applied patch.
- login: "patthoyts"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "patthoyts"
Ticket change [05760cbeed] (rid 89070) by nobody on 2006-09-18 12:22:35:
- icomment:
Logged In: NO to Build with MSVC8
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment: