]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/lexical_cast/example/small_examples.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / lexical_cast / example / small_examples.cpp
index 31cda49cc126ff574345256004ff1efc24d4dbd7..ae9a88ea119b1a26a0e12845c1260288f77e258f 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -8,6 +8,10 @@
 #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: