Skip to content

Commit

Permalink
Add -Wextra
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Apr 4, 2023
1 parent 9b644e0 commit b57c17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/kokkos_arch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ KOKKOS_ARCH_OPTION(INTEL_PVC GPU "Intel GPU Ponte Vecchio"

IF(KOKKOS_ENABLE_COMPILER_WARNINGS)
SET(COMMON_WARNINGS
"-Wall" "-Wunused-parameter" "-Wshadow" "-pedantic"
"-Wall" "-Wextra" "-Wunused-parameter" "-Wshadow" "-pedantic"
"-Wsign-compare" "-Wtype-limits" "-Wuninitialized")

# NOTE KOKKOS_ prefixed variable (all uppercase) is not set yet because TPLs are processed after ARCH
Expand Down

0 comments on commit b57c17b

Please sign in to comment.