Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore -Werror #1279

Merged
merged 1 commit into from
Jan 8, 2018
Merged

Ignore -Werror #1279

merged 1 commit into from
Jan 8, 2018

Conversation

bruntib
Copy link
Contributor

@bruntib bruntib commented Jan 8, 2018

In some cases Clang is stricter than GCC regarding the warning messages.
-Werror flag converts these to error messages which thus fail the
analysis. That's why -Werror will be ignored from now on.

'--serialize-diagnostics': 1,
# If Clang gives warning on which GCC doesn't then during checking it is
# considered an error and fails the analysis if the original build contains
# -Werror flag.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a well written English sentence.
I suggest rewriting the comment to:
"Clang gives different warnings than GCC. Thus if this flag is kept, the analysis with Clang can fail even if the compilation passes with GCC. "

@whisperity whisperity added analyzer 📈 Related to the analyze commands (analysis driver) enhancement 🌟 labels Jan 8, 2018
In some cases Clang is stricter than GCC regarding the warning messages.
-Werror flag converts these to error messages which thus fail the
analysis. That's why -Werror will be ignored from now on.
@whisperity whisperity merged commit af86760 into Ericsson:master Jan 8, 2018
@bruntib bruntib deleted the ignore_werror branch January 9, 2018 15:25
@gyorb gyorb added this to the release 6.3.1 milestone Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer 📈 Related to the analyze commands (analysis driver) enhancement 🌟
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants