-
Notifications
You must be signed in to change notification settings - Fork 127
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
Build failure on openSUSE 15.4 #419
Comments
You should be right; this time I did not make regression tests on oldest kernel and gcc. |
Not An empty statement should help compiler: void Query_TGL_IMC(void __iomem *mchmap, unsigned short mc)
{
EXIT_TGL_IMC: do { } while (0);
} void Query_ADL_IMC(void __iomem *mchmap, unsigned short mc)
{
EXIT_ADL_IMC: do { } while (0);
} |
Thanks, confirming it fixes the compile error. |
Fix available in commit 453b8b9 |
Confirmed fixed on Ubuntu 20.04.5 LTS. Stopped compiling with exit 1 error for I assumed this was reported and so I didn't report it. Didn't bother you check the dkms error log, so 💤 Sorry. I should have when 2 consecutive releases failed. Now it's fixed 👍🏻 |
Building CoreFreq for openSUSE 15.4 on OBS (Open Build Service) fails on a
label at end of compound statement
warning turned into error due to-Wfatal-errors
being used:On openSUSE Tumbleweed there is no such issue. Tumbleweed uses gcc 12 while I think 15.4 uses gcc 7 to compile modules
Googling this warning it seems to be caused by a
switch
without adefault
label or adefault
label without abreak
.Full build log
The text was updated successfully, but these errors were encountered: