mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 18:20:27 +01:00
Suppress warning about implicit unsigned long to int conversion in boost::property_tree
This commit is contained in:
parent
048f4b5144
commit
7a6d22ebeb
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user