mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-25 01:31:14 -06:00
Some more reduction of compiler warnings on MSVC
This commit is contained in:
parent
db2d78ff21
commit
05a6cfeaea
7 changed files with 37 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/log/trivial.hpp>
|
||||
#include <boost/bind/placeholders.hpp>
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include <boost/nowide/convert.hpp>
|
||||
|
||||
#include <iostream>
|
||||
|
|
|
|||
|
|
@ -78,10 +78,17 @@
|
|||
#include <boost/nowide/cstdio.hpp>
|
||||
#include <boost/nowide/fstream.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
// boost/property_tree/json_parser/detail/parser.hpp includes boost/bind.hpp, which is deprecated.
|
||||
// Suppress the following boost message:
|
||||
// The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated.
|
||||
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
|
||||
#include <boost/property_tree/ini_parser.hpp>
|
||||
#include <boost/property_tree/json_parser.hpp>
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <boost/property_tree/ptree_fwd.hpp>
|
||||
#undef BOOST_BIND_GLOBAL_PLACEHOLDERS
|
||||
|
||||
#include <boost/system/error_code.hpp>
|
||||
|
||||
#include <tbb/parallel_for.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue