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

Gumbo common options #3205

Merged

Conversation

flavorjones
Copy link
Member

What problem is this PR intended to solve?

See discussion at #3199

cc @stevecheckoway

(Recreation of #3204 with additional commits)

@flavorjones flavorjones merged commit bb8bc2b into flavorjones-use-kwargs-html5-methods May 24, 2024
129 checks passed
@flavorjones flavorjones deleted the gumbo-common-options branch May 24, 2024 17:54
flavorjones added a commit that referenced this pull request May 28, 2024
**What problem is this PR intended to solve?**

While working with @stevecheckoway on #3205, we caught an edge case in
how the `max_depth` parameter was converted from signed to unsigned int.
It turned out that it would have been caught much earlier with the
`-Wconversion` flag, but that flag is useless in Ruby C extensions
because of the issue described at
https://bugs.ruby-lang.org/issues/20507

That issue was fixed in Ruby 3.4-dev by
ruby/ruby#10843 and so I'm using it here and
fixing the compilation warnings it flags.


**Have you included adequate test coverage?**

N/A


**Does this change affect the behavior of either the C or the Java
implementations?**

N/A
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