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
On some versions, for example 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04), the code produced by LLVM-CBE would fail to get compiled by gcc like this
9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
LLVM-CBE
gcc
main.cbe.c:59:10: error: conflicting types for built-in function ‘printf’; expected ‘int(const char *, ...)’ [-Werror=builtin-declaration-mismatch] 59 | uint32_t printf(uint8_t*, ...); | ^~~~~~ main.cbe.c:3:1: note: ‘printf’ is declared in header ‘<stdio.h>’ 2 | #include <stdint.h> +++ |+#include <stdio.h> 3 | #ifndef __cplusplus cc1: all warnings being treated as errors
In order to solve the issue, @AP2008 suggested to use -Wno-format that presumably must solve the issue.
-Wno-format
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On some versions, for example
9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
, the code produced byLLVM-CBE
would fail to get compiled bygcc
like thisIn order to solve the issue, @AP2008 suggested to use
-Wno-format
that presumably must solve the issue.The text was updated successfully, but these errors were encountered: