"Unused parameter" build failure(s)
clang 3.5.0
-Wextra of clang incluses -Wunused-parameter which is not the case with gcc.
So, the following code will fail with clang but build with gcc:
int main(int argc, char *argv[])
{
}
clang -Werror -Wextra -c plop.c
gcc -Werror -Wextra -c plop.c
Package | Version | Supposed error message | Full log |
Bug report |
ifhp | 3.5.20-13 | ifhp.c:1061:43: error: unused parameter 'infovar' [-Werror,-Wunused-parameter]
| Log |
|
jffi | 1.0.2-11 | [exec] /«PKGBUILDDIR»/jni/jffi/FastLongInvoke.c:27:47: error: unused parameter 'env' [-Werror,-Wunused-parameter]
| Log |
|
switchsh | 0~20070801-3.1 | switchsh.c:69:14: error: unused parameter 'argc' [-Werror,-Wunused-parameter]
| Log |
|
3 errors