Skip to content

Commit 007e88b

Browse files
committed
Enable gcc conversion warnings
1 parent 6c98d6f commit 007e88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/compiler_utils.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ endfunction()
88
# Prepares warnings setup for current target
99
function(compiler_get_warnings_setup VARNAME)
1010
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
11-
set(WARNINGS_SETUP "-Wall -Wextra -pedantic -Wno-long-long")
11+
set(WARNINGS_SETUP "-Wall -Wextra -pedantic -Wconversion -Wno-long-long")
1212
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
1313
set(WARNINGS_SETUP_LIST "-Weverything"
1414
"-Wno-system-headers"

0 commit comments

Comments
 (0)