all repos — tint2 @ 277e406952782efd5dea54d89757eb5f3db0c0af

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Move -Wshadow compilation flag to debug flags
o9000 mrovi9000@gmail.com
commit

277e406952782efd5dea54d89757eb5f3db0c0af

parent

db44e0824a95b35ac97fea52881d109407cf0a43

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -134,7 +134,7 @@ add_dependencies( tint2conf version )

endif( ENABLE_TINT2CONF ) if( ENABLE_ASAN ) - SET(ASAN_C_FLAGS " -O0 -g3 -gdwarf-2 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic ") + SET(ASAN_C_FLAGS " -O0 -g3 -gdwarf-2 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic -Wshadow") SET(ASAN_L_FLAGS " -O0 -g3 -gdwarf-2 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic ") else() SET(ASAN_C_FLAGS "")

@@ -178,7 +178,7 @@

target_link_libraries( tint2 m ) add_dependencies( tint2 version ) -set_target_properties( tint2 PROPERTIES COMPILE_FLAGS "-Wall -Wshadow -Wpointer-arith -fno-strict-aliasing -pthread -std=c99 ${ASAN_C_FLAGS}" ) +set_target_properties( tint2 PROPERTIES COMPILE_FLAGS "-Wall -Wpointer-arith -fno-strict-aliasing -pthread -std=c99 ${ASAN_C_FLAGS}" ) set_target_properties( tint2 PROPERTIES LINK_FLAGS "-pthread -fno-strict-aliasing ${ASAN_L_FLAGS}" ) install( TARGETS tint2 DESTINATION bin )