Commit f2c1153d by Carlos Martín Nieto

cmake: enable -Wformat and -Wformat-security

We do not currently have any warnings in this regard, but it's good practice to
have them on in case we introduce something.
parent bc34cb63
......@@ -230,6 +230,8 @@ ELSE ()
ENABLE_WARNINGS(shift-count-overflow)
DISABLE_WARNINGS(unused-const-variable)
DISABLE_WARNINGS(unused-function)
ENABLE_WARNINGS(format)
ENABLE_WARNINGS(format-security)
IF (APPLE) # Apple deprecated OpenSSL
DISABLE_WARNINGS(deprecated-declarations)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment