cpp version 14.2.1 should now be available in Fedora repos:
⬢[fedora@toolbox fedora]$ sudo dnf install cpp
Last metadata expiration check: 0:01:19 ago on Mon 05 Aug 2024 01:14:01 AM PDT.
Dependencies resolved.
==========================================================================================
Package Architecture Version Repository Size
==========================================================================================
Installing:
cpp x86_64 14.2.1-1.fc40 updates 12 M
Installing dependencies:
libmpc x86_64 1.3.1-5.fc40 fedora 71 k
Transaction Summary
==========================================================================================
Install 2 Packages
Total download size: 12 M
Installed size: 35 M
Is this ok [y/N]:
Well, the Kinoite image was somehow built with newer cpp than in the Fedora 40 repos or maybe some mirrors lag significantly. Fedora Packages site still shows 14.1.1 for 40 in the Overview but also under Activity says Fedora 40 Update: gcc-14.2.1-1.fc40 10 hours ago so not everything is in sync.