We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cpu_usage2
The module should build without any issue
The module fails to build, with the following error message
cpu_usage2.c:127:25: error: invalid suffix 'D' on floating constant display(label, 100.0D * (used - old_used) / (total - old_total),
N/A
This build error is causing build failures on upstream projects. See relevant Gentoo Bugzilla report: https://832200.bugs.gentoo.org/attachment.cgi?id=763789
According to cppreference, D is not a valid suffix for a floating-point literal. Removing the suffix would make it a double by default.
D
double
The text was updated successfully, but these errors were encountered:
cpu_usage2: fix build failures on clang/llvm
230f42f
Remove a non-standard suffix on a floating-point literal, causing build failures on clang/LLVM fixes vivien#504
Successfully merging a pull request may close this issue.
Expected behavior
The module should build without any issue
Actual behavior
The module fails to build, with the following error message
i3blocks config relevant to blocklet(s)
N/A
Output of blocklet(s) when run from command line
N/A
Output of any relevant other commands that might help diagnostics
This build error is causing build failures on upstream projects. See relevant Gentoo Bugzilla report:
https://832200.bugs.gentoo.org/attachment.cgi?id=763789
According to cppreference,
D
is not a valid suffix for a floating-point literal. Removing the suffix would make it adouble
by default.The text was updated successfully, but these errors were encountered: