Add -Wnull-dereference (commented out)

This commit is contained in:
Nekotekina 2021-03-01 15:03:00 +03:00
parent 52a0b38379
commit 19b5b47b26

View File

@ -42,6 +42,7 @@ else()
add_compile_options(-Wempty-body)
add_compile_options(-Wstrict-aliasing=1)
#add_compile_options(-Wnull-dereference)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Werror=inconsistent-missing-override)