mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 21:14:26 +02:00
@@ -9,14 +9,7 @@
|
|||||||
|
|
||||||
//----------------------------------------------------------------------------//
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
// VC++ 8.0 warns on usage of certain Standard Library and API functions that
|
#include <boost/config/warning_disable.hpp>
|
||||||
// can cause buffer overruns or other possible security issues if misused.
|
|
||||||
// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
|
|
||||||
// But the wording of the warning is misleading and unsettling, there are no
|
|
||||||
// portable alternative functions, and VC++ 8.0's own libraries use the
|
|
||||||
// functions in question. So turn off the warnings.
|
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
|
||||||
#define _SCL_SECURE_NO_DEPRECATE
|
|
||||||
|
|
||||||
#include <boost/test/minimal.hpp>
|
#include <boost/test/minimal.hpp>
|
||||||
#include <boost/system/error_code.hpp>
|
#include <boost/system/error_code.hpp>
|
||||||
|
@@ -9,14 +9,7 @@
|
|||||||
|
|
||||||
//----------------------------------------------------------------------------//
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
// VC++ 8.0 warns on usage of certain Standard Library and API functions that
|
#include <boost/config/warning_disable.hpp>
|
||||||
// can cause buffer overruns or other possible security issues if misused.
|
|
||||||
// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
|
|
||||||
// But the wording of the warning is misleading and unsettling, there are no
|
|
||||||
// portable altersystem functions, and VC++ 8.0's own libraries use the
|
|
||||||
// functions in question. So turn off the warnings.
|
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
|
||||||
#define _SCL_SECURE_NO_DEPRECATE
|
|
||||||
|
|
||||||
#define BOOST_ERROR_CODE_HEADER_ONLY
|
#define BOOST_ERROR_CODE_HEADER_ONLY
|
||||||
|
|
||||||
|
@@ -9,14 +9,7 @@
|
|||||||
|
|
||||||
//----------------------------------------------------------------------------//
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
// VC++ 8.0 warns on usage of certain Standard Library and API functions that
|
#include <boost/config/warning_disable.hpp>
|
||||||
// can cause buffer overruns or other possible security issues if misused.
|
|
||||||
// See http://msdn.microsoft.com/msdnmag/issues/05/05/SafeCandC/default.aspx
|
|
||||||
// But the wording of the warning is misleading and unsettling, there are no
|
|
||||||
// portable alternative functions, and VC++ 8.0's own libraries use the
|
|
||||||
// functions in question. So turn off the warnings.
|
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
|
||||||
#define _SCL_SECURE_NO_DEPRECATE
|
|
||||||
|
|
||||||
#include <boost/test/minimal.hpp>
|
#include <boost/test/minimal.hpp>
|
||||||
#include <boost/system/system_error.hpp>
|
#include <boost/system/system_error.hpp>
|
||||||
|
Reference in New Issue
Block a user