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

Fix various compile warnings #31

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ubruhin
Copy link

@ubruhin ubruhin commented Jun 23, 2019

This fixes some compile warnings. To avoid introducing new warnings by accident, I added the option OPTIONAL_WERROR to the CMake config which allows to compile with the flags -Werror, -Wall, -Wextra and -pedantic. This option is disabled by default (to avoid errors when using for example a more recent compiler), but enabled on CI to make CI fail on warnings.

In addition, I added new CI jobs for GCC 9.x to increase compiler coverage.

Please let me know if I should change something. Especially with CMake I have no experience at all.

@ubruhin ubruhin force-pushed the fix-compile-warnings branch 2 times, most recently from 9022aa0 to e075591 Compare June 30, 2019 10:02
@loskutov
Copy link

@TartanLlama any chance of having this PR merged?

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.

2 participants