"Unused parameter" build failure(s)
clang 3.2
-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 |
dancer-ircd | 1.0.36-8.1 | channel.c:564:80: error: unused parameter 'was_kicked' [-Werror,-Wunused-parameter]
| Log |
|
ifhp | 3.5.20-12.1 | ifhp.c:1061:43: error: unused parameter 'infovar' [-Werror,-Wunused-parameter]
| Log |
|
jffi | 1.0.2-9 | [exec] /«PKGBUILDDIR»/jni/jffi/Array.c:58:1: error: unused parameter 'env' [-Werror,-Wunused-parameter]
| Log |
|
ruby-ffi | 1.0.11debian-5 | libtest/Benchmark.c:27:22: error: unused parameter 'arg' [-Werror,-Wunused-parameter]
| Log |
|
virtualbox | 4.1.18-dfsg-2 | heapsimple.cpp:639:44: error: unused parameter 'hHeap' [-Werror,-Wunused-parameter]
| Log |
|
5 errors