Closed travier closed 2 years ago
Started test build 69027
Build 69027 failed
Well, that's a weird one. Did the default C++ version change, or so?
This might be the case. This moves the Freedesktop Runtime base from 20.08 to 21.08 thus this might be the source of the build failures.
Guess the limits
header used to be transitively included, and now it's not anymore. Oh well.
the C++ documentation is clear about what to include. It was a bug.
Oh, absolutely. Still, is it necessary to update the gcc version?
it's part of the SDK. Yes. The compiler improve each time.
Started test build 70262
Build 70262 successful To test this build, install it from the testing repository:
flatpak install --user https://dl.flathub.org/build-repo/68112/org.openclonk.OpenClonk.flatpakref
Can you submit this patch upstream? Thanks for figuring it out!
The compiler improve each time.
Improve in what? Better error/warning messages? OC isn't actively developed, nobody will read them. Higher speed? We're likely talking about a few percent, and OC was well playable on weak hardware even years ago. No point. I'm also worried they'll get better at optimizing and turn more UB in the code into actual runtime bugs. :/
It's really just maintenance effort (well, small in this case) for no benefit I can see.
it's part of the SDK.
That doesn't actually answer my question. I wonder. Does it have to be? And why only one version?
Can you submit this patch upstream?
I have write access, yes. But I doubt there will be another release. I might do it after I figure out what header used to include limits.
Thanks for the investigation and the fix here and sorry for the trouble. You're good for at least full year before we make another update! 🙂
Seems like it's already fixed on HEAD.
The 5.15 version of the KDE Runtime is based on the 20.08 version of the Freedesktop Runtime and will stay as-is to keep compatibility. The 5.15-21.08 version of the KDE Runtime is based on the 21.08 Freedesktop one. The Qt/KDE Libraries are mostyl similar between the two runtimes.
This change is mostly maintenance to keep the base runtime updated.