Unverified Commit f8274204 by Edward Thomson Committed by GitHub

Merge pull request #4810 from libgit2/cmn/format-security

cmake: enable -Wformat and -Wformat-security
parents e181a649 f2c1153d
......@@ -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