-
Notifications
You must be signed in to change notification settings - Fork 42
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
Remove Werror compiler flag #272
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense. 👍 It's a tool for us and shouldn't be imposed on end users.
.travis.yml
Outdated
- os: linux | ||
compiler: clang-5.0 | ||
env: BUILD_TYPE=default CFLAGS='-fsanitize=address -fsanitize=undefined' | ||
env: BUILD_TYPE=default CFLAGS=' -fsanitize=address -fsanitize=undefined -Werror' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like a space snuck in just before -fsanitize
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
9526d17
to
0cb2f06
Compare
This was a new low on Travis:
|
321436d
to
5ba9f37
Compare
This seems to be the cause travis-ci/travis-ci#9033. |
It's generally considered bad practice to ship software with this flag. Issue revealed while updating the port on OpenBSD[1]. [1] https://marc.info/?l=openbsd-ports&m=151482370923381&w=2
Codecov Report
@@ Coverage Diff @@
## master #272 +/- ##
=======================================
Coverage 90.53% 90.53%
=======================================
Files 1 1
Lines 507 507
=======================================
Hits 459 459
Misses 48 48 Continue to review full report at Codecov.
|
It's generally considered bad practice to ship software with this flag.
Issue revealed while updating the port on OpenBSD.