cflags.inc.mk: fix cflags test for llvm#9612
Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom Jul 19, 2018
Merged
Conversation
gcc does an error but not clang, so add -Werror.
miri64
reviewed
Jul 19, 2018
Member
miri64
left a comment
There was a problem hiding this comment.
Tested on Ubuntu 16.04.4 and Ubuntu 17.10. Docker wasn't working for me for some reason:
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:334: running prestart hook 0 caused \\\"fork/exec /usr/bin/dockerd (deleted): no such file or directory\\\"\"\n".
But since this is working in #9398 I guess I don't have to.
miri64
approved these changes
Jul 19, 2018
Contributor
Author
|
In fact the CFLAGS changes are not included in the release so this is maybe not necessary to backport. |
Member
|
I remove the label then ;-) |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
gcc does an error but not clang, so add -Werror
Previous from #9355 llvm was handling all flags that are now with the
cflags_test_and_addcheck.Testing
This now fails in master but works with this PR
Further work
I think it could even be applied to the other checks that currently use
grep warning:.But would be for another PR.
Issues/PRs references
Found for llvm support in murdock: #9398