This commit is contained in:
Erik Frojdh
2021-11-11 16:00:45 +01:00
parent 37bf3600ad
commit fa931b8fca

View File

@ -133,11 +133,11 @@ endif()
# Add or disable warnings depending on if the compiler supports them # Add or disable warnings depending on if the compiler supports them
# The function checks internally and sets HAS_warning-name # The function checks internally and sets HAS_warning-name
sls_enable_cxx_warning("-Wnull-dereference") # sls_enable_cxx_warning("-Wnull-dereference")
sls_enable_cxx_warning("-Wduplicated-cond") # sls_enable_cxx_warning("-Wduplicated-cond")
sls_disable_cxx_warning("-Wclass-memaccess") # sls_disable_cxx_warning("-Wclass-memaccess")
sls_disable_c_warning("-Wstringop-truncation") # sls_disable_c_warning("-Wstringop-truncation")
sls_disable_c_warning("-Wformat-nonliteral") # sls_disable_c_warning("-Wformat-nonliteral")
if(SLS_USE_SANITIZER) if(SLS_USE_SANITIZER)