From: Matthias Maier Date: Thu, 30 Mar 2023 02:21:07 +0000 (-0500) Subject: CMake: Bugfix: do not use std::is_pod in C++11 check X-Git-Tag: v9.5.0-rc1~397^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14990%2Fhead;p=dealii.git CMake: Bugfix: do not use std::is_pod in C++11 check Some gcc versions erroneously warn about std::is_pod being deprecated even though they are running in C++11 mode. --- diff --git a/cmake/checks/check_01_cxx_features.cmake b/cmake/checks/check_01_cxx_features.cmake index 4a7319c79c..43cb4526f7 100644 --- a/cmake/checks/check_01_cxx_features.cmake +++ b/cmake/checks/check_01_cxx_features.cmake @@ -292,8 +292,6 @@ macro(_test_cxx14_support) (void) m0; constexpr auto m1 = std::is_standard_layout::value; (void) m1; - constexpr auto m2 = std::is_pod::value; - (void) m2; } " DEAL_II_HAVE_CXX11_FEATURES)