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

WIP: Enable all warnings (-Wall) in libyaml and tests #44

Closed
wants to merge 3 commits into from

Conversation

sigmavirus24
Copy link
Contributor

Let's first enable all the warnings that each of our compilers will provide, then fix them, then turn them into errors so we don't add new warnings or regress the fixes in this PR.

Let's start warning on everything and we'll clean the warnings up as we
go along.
There were several places in our test deconstructor where we were
passing plain char[]s to functions expecting (yaml_char_t *)s. Since we
will soon be forcing warnings to become errors, it makes sense to clean
these up.
This should cover the remainder of the warnings found on the Travis CI
OSX builder.
@ingydotnet
Copy link
Member

Applied. Pushed. Thanks!

The test output is SOOO much nicer.

@ingydotnet ingydotnet closed this Dec 29, 2016
sigmavirus24 pushed a commit to sigmavirus24/libyaml that referenced this pull request Apr 6, 2017
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