vmakarov / redhat.com wrote:
<snip>

Thanks for detailed response.

> I should remove -Werror=incompatible-pointer-types from the script and
> restrict added by me.  They are not important.

Actually, I've discovered AC_C_RESTRICT is convenient to add to
configure.in and I would like us to be able to take advantage of
useful C99 (and C1x) features as they become available:

   https://80x24.org/spew/20170606012921.26806-1-e / 80x24.org/raw

Perhaps -Werror=incompatible-pointer-types can be made a
standard warning flag for building Ruby, too...

> The code is currently tuned for my major environment (FC25 Linux).  I
> very rarely check OSX.  Some work should be done for configuring MRI
> to use right options depending on the environment.

Heh, I never run non-Free systems like OSX.   Anyways I've been
using FreeBSD (via QEMU) sometimes and found Wshorten-64-to-32
errors in clang:

   https://80x24.org/spew/20170606012944.26869-1-e / 80x24.org/raw

I guess that will help clang testers on other systems, too.

> Eric, thank you for trying my code and giving a feedback.  I really
> appreciate it.

No problem!  I'm still learning VM and compiler stuff from all
this and will do what I can to keep things running on the
ancient crap I have :)

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>