forked from boostorg/system
Fix Ticket #1768 by including <boost/config/warning_disable.hpp>
[SVN r45894]
This commit is contained in:
@@ -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 be 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
|
|
||||||
|
|
||||||
// define BOOST_SYSTEM_SOURCE so that <boost/system/config.hpp> knows
|
// define BOOST_SYSTEM_SOURCE so that <boost/system/config.hpp> knows
|
||||||
// the library is being built (possibly exporting rather than importing code)
|
// the library is being built (possibly exporting rather than importing code)
|
||||||
|
Reference in New Issue
Block a user