Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 2015 20:38:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 202660] Fix lang/ruby21 installed header to fix signed shift warnings for other ports (e.g. devel/rubygem-thrift)
Message-ID:  <bug-202660-21402-4rZCdrIUKH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202660-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202660-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202660

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Michael Moll from comment #1)
> https://github.com/ruby/ruby/commit/1efb3c31b731e99627bbc0da13dfd3463bb67c67
> did change this i upstream to
> #define INT2FIX(i) (((VALUE)(i))<<1 | FIXNUM_FLAG)
> could you check if that solves the problem with clang 3.7.0?

Yes, that is fine too.  Even better that it comes from upstream. :)

I applied the complete diff you mentioned, but it may be a bit overkill.  It
should be enough to just patch the public ruby.h header.

Btw, I think this also applies to the other ruby ports?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202660-21402-4rZCdrIUKH>