> 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?

Here is the failure of the scratch build on the private-ruby-3.0 branch.
https://koji.fedoraproject.org/koji/taskinfo?taskID=57140928
https://kojipkgs.fedoraproject.org//work/tasks/928/57140928/build.log

Yes, I think we should report it. identifying the version of the gcc
by comparing the build on f33 or f32 or finding and pointing out the
official document of the new warning.

-- 
Jun | He - His - Him
_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to