Skip to content

Commit

Permalink
Improve support for C++20 builds (#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 May 12, 2023
2 parents 71bc7a3 + 13775e4 commit e2503b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/espressomd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ target_compile_options(
$<$<CXX_COMPILER_ID:GNU>:-Wno-cpp>
$<$<CXX_COMPILER_ID:GNU>:-Wno-strict-aliasing>
$<$<CXX_COMPILER_ID:GNU>:-Wno-maybe-uninitialized>
$<$<CXX_COMPILER_ID:GNU>:-Wno-volatile>
$<$<CXX_COMPILER_ID:Clang,AppleClang,IntelLLVM>:-Wno-sometimes-uninitialized>
$<$<CXX_COMPILER_ID:Clang,AppleClang,IntelLLVM>:-Wno-\#warnings>
-Wno-unused-variable)
Expand Down

0 comments on commit e2503b6

Please sign in to comment.