-// Copyright 2013 Antony Polukhin
+// Copyright 2013-2017 Antony Polukhin
// Distributed under the Boost Software License, Version 1.0.
// (See the accompanying file LICENSE_1_0.txt
#include <string>
#include <cstdio>
+#ifdef BOOST_MSVC
+# pragma warning(disable: 4996) // `strerror` is not safe
+#endif
+
//[lexical_cast_log_errno
//`The following example uses numeric data in a string expression: