Skip to content

Commit

Permalink
CMake: NVIDIA compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Mar 25, 2024
1 parent 4e3bf57 commit 36ff88b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ else()
ecbuild_add_cxx_flags("-Wno-unused-variable" NO_FAIL)
ecbuild_add_cxx_flags("-Wno-reorder" NO_FAIL)
ecbuild_add_cxx_flags("-Wno-sign-compare" NO_FAIL)
# For NVIDIA
ecbuild_add_cxx_flags("--diag_suppress=partial_override" NO_FAIL)
ecbuild_add_cxx_flags("--diag_suppress=virtual_function_decl_hidden" NO_FAIL)

# set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-overloaded-virtual -Wno-unused-variable -Wno-reorder-ctor -Wno-sign-compare")

Expand Down

0 comments on commit 36ff88b

Please sign in to comment.