mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Remove -Wshadow; it is far too aggressive under gcc
This commit is contained in:
parent
f8201fcf40
commit
66ebe3995e
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ if(WITH_SHARED)
|
|||
endif()
|
||||
|
||||
if (WARNINGS_AS_ERRORS)
|
||||
set(WARN_FLAGS -Wall -Wextra -Wshadow -Werror)
|
||||
set(WARN_FLAGS -Wall -Wextra -Werror)
|
||||
target_compile_options(${UTIL_LIB} PUBLIC ${WARN_FLAGS})
|
||||
target_compile_options(${PLATFORM_LIB} PUBLIC ${WARN_FLAGS})
|
||||
target_compile_options(${STATIC_LIB} PUBLIC ${WARN_FLAGS})
|
||||
|
|
Loading…
Reference in a new issue