-
Notifications
You must be signed in to change notification settings - Fork 696
uhd-4.8.0.0 compilation fails with gcc-15 #844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Not all required gcc-15 fixes, see EttusResearch#844 for details. Related EttusResearch#844
|
OK, thanks for the info. I will drop the line and retry, they may be more gcc-15 problems, in such case I will update the #845 or create new one. |
@yarda Many thanks for your insights. I'll try and get my hands on a gcc-15 distro (
Again, many thanks for your efforts! |
Actually, I did have a quick look and found some warnings outside of your fixes, but no more errors (at least in UHD itself). |
...the warnings will be fixed because we internally test UHD with |
Excellent, thanks for the feedback. Like I said, I'll remove the remaining warnings while we're at it, then we should be fine for this gcc version. |
One more problem noted, it's probably due to the cmake-4.0 in the Rawhide. On s390x and ppc64le it now installs udev rules to the /usr/lib/uhd/... instead of the /usr/lib64/uhd as it does on x86_64 (and did previously). But I think it should install the rules to /usr/lib/udev/rules.d/. |
It's probably this one: |
@yarda I hope to close this out soon, but one FYI: I am planning to start using |
NP, several projects I am maintaining downstream already switched to |
@yarda we've pushed the GNUInstallDirs patch public into master. I'm going to close this, assuming that gcc-15 and F42 are fine now. |
Uh oh!
There was an error while loading. Please reload this page.
The gcc-15 defaults to the C23 standard. This compiler is the default in Fedora 42 and newer (e.g. rawhide / f43). The C23 introduced new keyword
bool
which (beyond others) causes compilation error:Possibilities are rename, use of
<csdtdbool>
or explicitly compile with the-std=gnu17
. In fedora we now temporally compile it with the-std=gnu17
. There are some other minor problems for which I will open PR.The text was updated successfully, but these errors were encountered: