[Boost-bugs] [Boost C++ Libraries] #12230: strerror deprecated in favor of strerror_s in VS2015

Subject: [Boost-bugs] [Boost C++ Libraries] #12230: strerror deprecated in favor of strerror_s in VS2015
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-27 15:10:52


#12230: strerror deprecated in favor of strerror_s in VS2015
---------------------------------------------+----------------------------
 Reporter: Steve Hickman <steve.hickman@…> | Owner: emildotchevski
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: exception
  Version: Boost 1.61.0 | Severity: Optimization
 Keywords: |
---------------------------------------------+----------------------------
 Compiling with VS2015 on Win7 64 bit building a 32 bit exe: I get the
 following error:

 3>c:\boost\boost_1_61_0\boost\exception\errinfo_errno.hpp(36): error
 C4996: 'strerror': This function or variable may be unsafe. Consider using
 strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
 See online help for details.

 While I can work around this by using _CRT_SECURE_NO_WARNINGS, that flies
 in the face of what Boost is about - namely quality. I don't want to do
 something that weakens my ability to detect unsafe code.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12230>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC