GCC 13 has made checks for mixed-signedness comparisons more stringent, causing a build failure on Ubuntu 23.10 (pre-release). Workaround this by adding some casts in the Pyrrhic code.
Fixes #677
No functional change.
**
Note: This is perhaps not the cleanest possible fix, but it is the smallest one. Possibly, a better fix would be something such as:
That is, break the big anonymous enum type to smaller enum types of related values. That would allow for more consistent use of types in expressions. However, I'm not entirely sure what is the intended direction here, and you could also argue that the code is just fine as it is and GCC is just overly stringent here.
GCC 13 has made checks for mixed-signedness comparisons more stringent, causing a build failure on Ubuntu 23.10 (pre-release). Workaround this by adding some casts in the Pyrrhic code.
Fixes #677
No functional change.
**
Note: This is perhaps not the cleanest possible fix, but it is the smallest one. Possibly, a better fix would be something such as:
That is, break the big anonymous enum type to smaller enum types of related values. That would allow for more consistent use of types in expressions. However, I'm not entirely sure what is the intended direction here, and you could also argue that the code is just fine as it is and GCC is just overly stringent here.
Bench: 22069011