Commit f99ac7a2 authored by Michael Kuron's avatar Michael Kuron 🔬

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

We do our own availability detection in CMake, so we don't care about the deprecation.
parent 2eeee982
Pipeline #16599 passed with stages
in 242 minutes and 8 seconds
......@@ -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>
......
Markdown is supported
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