You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug was reported to me by the Fedora build system when rebuilding packages for the next version of the distro[0], which uses gcc13.
Honestly, I don't know if they added new flags that makes builds more strict or if it's because of the gcc version change, but this is the error message that it shows when building v1.6.0 and the latest commit onf F38.
/opt/toonz/toonz/sources/include/tcg/hash.h:37:50: error: declaration of 'typedef typename tcg::list<tcg::hash<K, T, Hash_functor>::BucketNode>::size_t tcg::hash<K, T, Hash_functor>::size_t' changes meaning of 'size_t' [-fpermissive]
37 | typedef typename tcg::list<BucketNode>::size_t size_t;
| ^~~~~~
/opt/toonz/toonz/sources/include/tcg/hash.h:28:5: note: used here to mean 'typedef long unsigned int size_t'
28 | size_t m_prev;
| ^~~~~~
I searched about this message and found the following Stack Overflow thread [1] that explains why it happens.
I already prepared a simple patch for Fedora for it though, so I'll upstream it soon.
Description
This bug was reported to me by the Fedora build system when rebuilding packages for the next version of the distro[0], which uses gcc13.
Honestly, I don't know if they added new flags that makes builds more strict or if it's because of the gcc version change, but this is the error message that it shows when building v1.6.0 and the latest commit onf F38.
I searched about this message and found the following Stack Overflow thread [1] that explains why it happens.
I already prepared a simple patch for Fedora for it though, so I'll upstream it soon.
[0] https://koji.fedoraproject.org/koji/taskinfo?taskID=96384858
[1] https://stackoverflow.com/questions/12187549/typedef-changes-meaning
Steps to Reproduce
sudo dnf install fedpkg
fedpkg clone opentoonz
cd opentoonz
git checkout f37
fedpkg --release f38 mockbuild
Expected Behavior
I expect it to build without problems, as it did on Fedora 37
Screenshots, Video & Crash Logs
OpenToonz Version
1.6
OpenToonz Version Information
Also reproducible on the latest nightly
Operating System
Linux
GPU
NVIDIA
Graphics Tablet
None
The text was updated successfully, but these errors were encountered: