Compilation fails on GCC 14 due to Discord RPC
GCC 14 is not officially released yet but it's already shipping with Fedora 40. This is the cause of the compilation issues that only happen on Fedora.
gcc -v
output on Fedora 40: gcc version 14.0.1 20240411 (Red Hat 14.0.1-0) (GCC)
gcc -v
output on my main Arch machine: gcc version 13.2.1 20230801 (GCC)
Edited by katsy