----- Original Message -----
From: "Vít Ondruch" <vondruch(a)redhat.com>
To: ruby-sig(a)lists.fedoraproject.org
Sent: Friday, December 4, 2020 5:10:07 PM
Subject: Re: Ruby 3.0
Hi everybody,
Here is yet another update:
https://koji.fedoraproject.org/koji/taskinfo?taskID=56776529
The changes are available in private-ruby-3.0 branch, but nothing really
stands out. Please give a test and let me know should you find any issue.
Thx
Vít
Hello,
I was unable to rebuild in my testing repo:
https://copr.fedorainfracloud.org/coprs/build/1818226
Tests fail due warnings, when using RBIMPL_CAST:
```
/builddir/build/BUILD/ruby-3.0.0-1cfc6e7b7a/include/ruby/internal/core/rbasic.h:40:59:
warning: expression does not compute the number of elements in this array; element type is
'VALUE' {aka 'long unsigned int'}, not 'char'
[-Wsizeof-array-div]
40 | RBIMPL_CAST((int)(sizeof(VALUE[RVALUE_EMBED_LEN_MAX]) / sizeof(T)))
```
I suspect this is new gcc warning. Or should we report this upstream?
Regards,
Pavel