Skip to content
Tcl Source Code History Of Ticket 1905560fffffffff
Login

History Of Ticket 1905560fffffffff

Artifacts Associated With Ticket 1905560fffffffff

  1. Ticket change [10b19a47a3] (rid 95002) by kennykb on 2008-03-02 03:52:26:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Using MSVC2005, running 'configure --enable-symbols', 'make', and 'make test', I get:
      
      cat.c
      ../win/cat.c(26) : error C2220: warning treated as error - no 'object' file generated
      ../win/cat.c(26) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\io.h(329) : see declaration of 'read'
      ../win/cat.c(30) : warning C4996: 'write': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _write. See online help for details.
              C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\io.h(334) : see declaration of 'write'
      ../win/cat.c(33) : warning C4996: 'write': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _write. See online help for details.
              C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\io.h(334) : see declaration of 'write'
      make: *** [cat32.obj] Error 2
      
      If I edit the generated Makefile manually and include 
      -D_CRT_NONSTDC_NO_DEPRECATE, the problem goes away.
      This definition is safe for all versions of MSVC,
      not just 2k5.
      
    4. foundin initialized to: "obsolete: 8.5.2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "kennykb"
    10. subsystem initialized to: "53. Configuration and Build Tools"
    11. title initialized to: "--enable-symbols 'make test' fails on MSVC2005"
    12. type initialized to: "Bug"
  2. Ticket change [840d3bf1e3] (rid 259678) by serhiy.storchaka on 2026-10-21 09:06:36:

    1. icomment:
      Fixed in 8.5.3 by [8d5cc700eb]: win/tcl.m4 defines _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE for MSVC (still so in 8.6 and 9.x), and win/cat.c now uses _read/_write. Closing.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [f39b8b2796] (rid 259980) by serhiy.storchaka on 2026-10-22 17:19:29:

    1. closedate changed to: "2461334.879585625"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"