-
Notifications
You must be signed in to change notification settings - Fork 21
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
Compilation failures with clang on Fedora 37 #800
Comments
Clang job in CI would require contributors to fix clang issues as they appear. There is unlikely to be many, since both GCC and Clang implement the standard, Clang implements gcc switches, CMake also helps with portability, and so differences are minor, but it is still a drain sometimes. |
…ffix` for clang
…ffix` for clang
Consider GCC option to catch the #803 declarations in GCC as well https://stackoverflow.com/questions/50401100/compiler-warning-for-function-defined-without-prototype-in-scope |
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
|
…definition` GCC flags
…definition` GCC flags
…definition` GCC flags
…definition` GCC flags
… prototype error
… prototype errors
There is multiple issues:
void foo(void)
appears to be the correct standard-compliant C, https://stackoverflow.com/questions/693788/is-it-better-to-use-c-void-arguments-void-foovoid-or-not-void-foo.The text was updated successfully, but these errors were encountered: