Skip to content

Commit

Permalink
Merge pull request #110 from caseywilliams/PA-2055/boost-167
Browse files Browse the repository at this point in the history
(PA-2055) Disable warnings for boost::variant
  • Loading branch information
Branan Riley authored Jul 17, 2018
2 parents f55af98 + 1841202 commit c710b8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/inc/hocon/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
#include <memory>
#include <vector>
#include <unordered_map>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Waddress"
#if defined(__GNUC__) && __GNUC__ > 5
#pragma GCC diagnostic ignored "-Wnonnull-compare"
#endif
#include "boost/variant.hpp"
#pragma GCC diagnostic pop

namespace hocon {

Expand Down

0 comments on commit c710b8c

Please sign in to comment.