mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-19 14:09:50 +01:00
WIP
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user