Skip to content

cmake: enable -Wformat and -Wformat-security#4810

Merged
ethomson merged 1 commit intomasterfrom
cmn/format-security
Sep 19, 2018
Merged

cmake: enable -Wformat and -Wformat-security#4810
ethomson merged 1 commit intomasterfrom
cmn/format-security

Conversation

@carlosmn
Copy link
Member

We do not currently have any warnings in this regard, but it's good practice to
have them on in case we introduce something.

Ideally we would also have -Wformat-nonliteral but we actually use it a lot and at least GCC cannot differentiate between static strings and stuff we've accepted from users, unfortunately.

We do not currently have any warnings in this regard, but it's good practice to
have them on in case we introduce something.
@ethomson
Copy link
Member

/rebuild

@libgit2-azure-pipelines
Copy link

Okay, @ethomson, I started to rebuild this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants