Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 10b19a47a3ecb10264b2c6b16437194813cd9e7d
Ticket: 1905560fffffffffffffffffffffffffffffffff
--enable-symbols 'make test' fails on MSVC2005
User & Date: kennykb on 2008-03-02 03:52:26
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.5.2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "kennykb"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to: "--enable-symbols 'make test' fails on MSVC2005"
  12. type changed to: "Bug"