Remove certain annoying warnings

This commit is contained in:
Nikita Lisitsa 2020-09-22 19:18:03 +03:00
parent 5f422f1452
commit e01cef3129

View file

@ -13,7 +13,7 @@ endif()
set(PSEMEK_CXX_FLAGS)
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
list(APPEND PSEMEK_CXX_FLAGS -Wall -Werror -Wextra -pedantic)
list(APPEND PSEMEK_CXX_FLAGS -Wall -Werror -Wextra -pedantic -Wno-narrowing -Wno-sign-compare)
endif()
add_subdirectory(package)