Skip to content
Snippets Groups Projects
Commit 57f2e7db authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

Merge branch 'libcpp' into 'master'

Silence some libcxx versions' warnings about std::experimental deprecation

See merge request walberla/walberla!217
parents babf86a7 f99ac7a2
No related merge requests found
......@@ -25,6 +25,7 @@
#if defined(WALBERLA_USE_STD_ANY)
#include <any>
#elif defined(WALBERLA_USE_STD_EXPERIMENTAL_ANY)
#undef _LIBCPP_WARN_ON_DEPRECATED_EXPERIMENTAL_HEADER
#include <experimental/any>
#else
#include <boost/any.hpp>
......
......@@ -25,6 +25,7 @@
#if defined(WALBERLA_USE_STD_FILESYSTEM)
#include <filesystem>
#elif defined(WALBERLA_USE_STD_EXPERIMENTAL_FILESYSTEM)
#define _LIBCPP_NO_EXPERIMENTAL_DEPRECATION_WARNING_FILESYSTEM
#include <experimental/filesystem>
#else
#include <boost/filesystem.hpp>
......
......@@ -25,6 +25,7 @@
#if defined(WALBERLA_USE_STD_OPTIONAL)
#include <optional>
#elif defined(WALBERLA_USE_STD_EXPERIMENTAL_OPTIONAL)
#undef _LIBCPP_WARN_ON_DEPRECATED_EXPERIMENTAL_HEADER
#include <experimental/optional>
#else
#include <boost/optional.hpp>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment