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

Remove Werror compiler flag #272

Merged
merged 1 commit into from
Feb 11, 2018
Merged

Remove Werror compiler flag #272

merged 1 commit into from
Feb 11, 2018

Conversation

mptre
Copy link
Owner

@mptre mptre commented Jan 1, 2018

It's generally considered bad practice to ship software with this flag.
Issue revealed while updating the port on OpenBSD.

Copy link
Collaborator

@calleluks calleluks left a 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'
Copy link
Collaborator

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.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Nice catch!

@mptre mptre force-pushed the werror branch 7 times, most recently from 9526d17 to 0cb2f06 Compare January 11, 2018 20:47
@mptre
Copy link
Owner Author

mptre commented Jan 11, 2018

This was a new low on Travis:

configure:3030: ./conftest
==LeakSanitizer has encountered a fatal error.

@mptre mptre force-pushed the werror branch 3 times, most recently from 321436d to 5ba9f37 Compare January 13, 2018 09:12
@mptre
Copy link
Owner Author

mptre commented Jan 13, 2018

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-io
Copy link

codecov-io commented Feb 11, 2018

Codecov Report

Merging #272 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 805ae7c...8008d1e. Read the comment docs.

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.

3 participants