[Bug 255910] lang/ruby26 lang/ruby27: Fix clang 12 -Wcompound-token-split-by-macro warning in ruby.h

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 16 08:12:08 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255910

--- Comment #2 from Dimitry Andric <dim at FreeBSD.org> ---
Unfortunately it looks like the ruby people only accept pull requests against
their master branch, but the code there does not have the problem! Hence,
upstream cannot (or will not) solve this issue. :)

So that means we will have to either carry these patches for the life of the
ruby 2.6 and 2.7 branches, or disable -Wcompound-token-split-by-macro for all
ruby gems, somehow. I would just apply this patch, since it seems unlikely to
me that upstream will ever change this header again.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ruby mailing list