Skip to content

Commit

Permalink
Remove fatal warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Jul 26, 2023
1 parent dd078ec commit b8bcb6a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,9 @@ $<$<COMPILE_LANGUAGE:CXX>:
-Wfloat-equal;
-Wundef;
-Wvla;
-Wfatal-errors;
>
)

if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(comm_scope PRIVATE
$<$<COMPILE_LANGUAGE:CXX>:
-fmax-errors=1;
>
)
endif()


# causes lots of warnings in CUDA includes
# -Xcompiler=-Wundef;
# -Xcompiler=-Wredundant-decls;
Expand All @@ -82,7 +72,6 @@ $<$<COMPILE_LANGUAGE:CUDA>:
-Xcompiler=-Wswitch-enum;
-Xcompiler=-Wfloat-equal;
-Xcompiler=-Wvla;
-Xcompiler=-Wfatal-errors;
>
)

Expand Down

0 comments on commit b8bcb6a

Please sign in to comment.