"Unused parameter" build failure(s)
clang 2.9
-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 | 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 |
|
jaffl | 0.5.4-1 | [exec] libtest/Benchmark.c:23:22: error: unused parameter 'arg' [-Werror,-Wunused-parameter]
| Log |
|
jffi | 1.0.2-6 | [exec] /build/jffi-CzxfX1/jffi-1.0.2/jni/jffi/Array.c:58:1: error: unused parameter 'env' [-Werror,-Wunused-parameter]
| Log |
|
switchsh | 0~20070801-3 | switchsh.c:66:14: error: unused parameter 'argc' [-Werror,-Wunused-parameter]
| Log |
|
virtualbox | 4.1.2-dfsg-1 | heapoffset.cpp:647:44: error: unused parameter 'hHeap' [-Werror,-Wunused-parameter]
| Log |
|
6 errors