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 27, 2024
1 parent 36ff88b commit 7e4068b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ else()
# For NVIDIA
ecbuild_add_cxx_flags("--diag_suppress=partial_override" NO_FAIL)
ecbuild_add_cxx_flags("--diag_suppress=virtual_function_decl_hidden" NO_FAIL)
ecbuild_add_cxx_flags("--diag_suppress=code_is_unreachable" 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 7e4068b

Please sign in to comment.