mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-04 17:07:08 +02:00
Some more reduction of compiler warnings on MSVC
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user