Skip to content

Commit

Permalink
Improve support for C++20 builds (espressomd#4725)
Browse files Browse the repository at this point in the history
Description of changes:
- silence non-critical deprecation warning in Cython-generated code when building in C++20 mode
  • Loading branch information
kodiakhq[bot] authored and jngrad committed May 26, 2023
1 parent b8b278f commit 2d18b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/espressomd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2d18b26

Please sign in to comment.