Overview
| Artifact ID: | 10b19a47a3ecb10264b2c6b16437194813cd9e7d |
|---|---|
| Ticket: | 1905560fffffffffffffffffffffffffffffffff
--enable-symbols 'make test' fails on MSVC2005 |
| User & Date: | kennykb on 2008-03-02 03:52:26 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "obsolete: 8.5.2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "--enable-symbols 'make test' fails on MSVC2005"
- type changed to: "Bug"