improved options #359

Merged
gaisser merged 13 commits from eive/fsfw:eive/shadow-local-warning into development 2021-01-25 14:40:21 +01:00
Showing only changes of commit e0f8113eac - Show all commits

View File

@ -119,10 +119,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-Wno-unused-parameter
-Wno-psabi
)
if(FSFW_WARNING_SHADOW_LOCAL_GCC)
list(APPEND WARNING_FLAGS "-Wshadow=local")
endif()
endif()
if(FSFW_WARNING_SHADOW_LOCAL_GCC)
list(APPEND WARNING_FLAGS "-Wshadow=local")
endif()
endif()