From 2d18b26c908c3ec5f598cf0c72271578101d48b6 Mon Sep 17 00:00:00 2001 From: "kodiakhq[bot]" <49736102+kodiakhq[bot]@users.noreply.github.com> Date: Fri, 12 May 2023 09:51:26 +0000 Subject: [PATCH] Improve support for C++20 builds (#4725) Description of changes: - silence non-critical deprecation warning in Cython-generated code when building in C++20 mode --- src/python/espressomd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/espressomd/CMakeLists.txt b/src/python/espressomd/CMakeLists.txt index 188e3e7db1e..2a18f5f6cae 100644 --- a/src/python/espressomd/CMakeLists.txt +++ b/src/python/espressomd/CMakeLists.txt @@ -66,7 +66,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") Espresso_pyx_flags INTERFACE -Wno-pedantic -Wno-cpp -Wno-strict-aliasing -Wno-maybe-uninitialized -Wno-unused-variable - -Wno-deprecated-declarations) + -Wno-deprecated-declarations -Wno-volatile) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") target_compile_options(