mirror of https://github.com/ByConity/ByConity
Add -Wundef for gcc
This commit is contained in:
parent
d542a9aadf
commit
3fdb736e1c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue