Skip to content

Commit 5bb5c2f

Browse files
committed
adding explicit casts
1 parent e5acc29 commit 5bb5c2f

2 files changed

Lines changed: 141 additions & 141 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ MESSAGE( STATUS "CMAKE_BUILD_TYPE: " ${CMAKE_BUILD_TYPE} )
8484

8585

8686
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang")
87-
target_compile_options(FastPFOR PRIVATE -Wall -Wextra)
87+
target_compile_options(FastPFOR PRIVATE -Wall -Wextra -Weffc++ -Wsign-compare -Wshadow -Wwrite-strings -Wpointer-arith -Winit-self -Wconversion -Wno-sign-conversion)
8888
endif()
8989
include(CheckCXXCompilerFlag)
9090
unset(FASTPFOR_COMPILER_SUPPORTS_MARCH_NATIVE CACHE)

0 commit comments

Comments
 (0)