FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cmake: only enable supported compiler warning flags by pks-t · Pull Request #4148 · libgit2/libgit2 · GitHub

Repository navigation

cmake: only enable supported compiler warning flags - #4148

Merged
pks-t merged 1 commit into
libgit2:masterfrom
pks-t:pks/fix-haiku-builds
Mar 1, 2017
Merged

pks-t merged 1 commit into
libgit2:masterfrom
pks-t:pks/fix-haiku-builds

Conversation

pks-t commented Mar 1, 2017

Copy link
Copy Markdown
Member

We currently unconditionally enable the "-Wall" and "-Wextra" flags.
Some platforms rely on compilers which do not support these flags,
though. One of these platforms is Haiku, which does not support
"-Wextra" due to being stuck on GCC version 2.

Fix builds on such platforms by adding these flags only if supported by
the compiler.

This supersedes #4140

We currently unconditionally enable the "-Wall" and "-Wextra" flags.
Some platforms rely on compilers which do not support these flags,
though. One of these platforms is Haiku, which does not support
"-Wextra" due to being stuck on GCC version 2.

Fix builds on such platforms by adding these flags only if supported by
the compiler.
pks-t merged commit ba2bc49 into libgit2:master Mar 1, 2017
pks-t mentioned this pull request Mar 1, 2017
pks-t deleted the pks/fix-haiku-builds branch March 28, 2017 06:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL