Add -Wundef for gcc

This commit is contained in:
Azat Khuzhin 2021-04-18 10:01:05 +03:00
parent d542a9aadf
commit 3fdb736e1c
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ elseif (COMPILER_GCC)
add_cxx_compile_options(-Wtrampolines)
# Obvious
add_cxx_compile_options(-Wunused)
add_cxx_compile_options(-Wundef)
# Warn if vector operation is not implemented via SIMD capabilities of the architecture
add_cxx_compile_options(-Wvector-operation-performance)
# XXX: libstdc++ has some of these for 3way compare