Suppress warning about implicit unsigned long to int conversion in boost::property_tree

This commit is contained in:
Tristan Penman 2015-03-17 13:17:23 +11:00
parent 048f4b5144
commit 7a6d22ebeb

View File

@ -6,7 +6,12 @@
#include <json/json.h> #include <json/json.h>
#include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ptree.hpp>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshorten-64-to-32"
#include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/json_parser.hpp>
#pragma clang diagnostic pop
#include <boost/property_tree/detail/json_parser_error.hpp> #include <boost/property_tree/detail/json_parser_error.hpp>
#include <valijson/utils/file_utils.hpp> #include <valijson/utils/file_utils.hpp>