Merge pull request #9082 from ethereum/conversionWarnings

Adding `-Wsign-conversion` flag and fixing errors
This commit is contained in:
chriseth
2020-07-13 11:28:09 +02:00
committed by GitHub
16 changed files with 30 additions and 24 deletions
+1
View File
@@ -50,6 +50,7 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA
add_compile_options(-pedantic)
add_compile_options(-Wno-unknown-pragmas)
add_compile_options(-Wimplicit-fallthrough)
add_compile_options(-Wsign-conversion)
# Configuration-specific compiler settings.
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -DETH_DEBUG")