Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cmake: only enable supported compiler warning flags#4148

Merged
pks-t merged 1 commit intolibgit2:masterlibgit2/libgit2:masterfrom
pks-t:pks/fix-haiku-buildspks-t/libgit2:pks/fix-haiku-buildsCopy head branch name to clipboard
Mar 1, 2017
Merged

cmake: only enable supported compiler warning flags#4148
pks-t merged 1 commit intolibgit2:masterlibgit2/libgit2:masterfrom
pks-t:pks/fix-haiku-buildspks-t/libgit2:pks/fix-haiku-buildsCopy head branch name to clipboard

Conversation

@pks-t
Copy link
Member

@pks-t pks-t commented Mar 1, 2017

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 pks-t merged commit ba2bc49 into libgit2:master Mar 1, 2017
@pks-t pks-t mentioned this pull request Mar 1, 2017
@pks-t pks-t deleted the pks/fix-haiku-builds branch March 28, 2017 06:41
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.