-
Notifications
You must be signed in to change notification settings - Fork 61
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 due to implicit declaration of functions #31
Comments
Clang and GCC are both making these fatal errors by default. Note that implicit function declarations is legal in the c89 standard, but removed in the next version without a deprecation period because it was so bad. It's not a cosmetic problem, this is a big cause of crashes, especially on architectures other than amd64. |
Also reported downstream at https://bugs.gentoo.org/898290 |
This is causing build failure of debian packages now, after dpkg 1.22.6 switched on |
Workaround for upstream issue: Reference-ScaLAPACK/scalapack#31. This change suppresses warnings until the upstream project addresses these implicit function declarations.
scalapack 2.1.0 fails to build when implicit declaration of functions is an error. (This is the default behavior of the clang included with Apple's Xcode 12 or later and can also be achieved on other compilers by adding
-Werror=implicit-function-declaration
to CFLAGS.) grepping the build log for these errors, they are:This was reported to MacPorts here: https://trac.macports.org/ticket/62567
The text was updated successfully, but these errors were encountered: