Debian Package rebuild
Rebuild of the Debian archive with clang
"Unused parameter"
build failure(s)
clang 13.0.0
Return to the list
-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
Versions:
2.9
-
3.0
-
3.1
-
3.2
-
3.3
-
3.4
-
3.4.2
-
3.5.0
-
3.6.0
-
3.8.1
-
3.9.1
-
4.0.1
-
5.0
-
6.0
-
8.0.1
-
9.0.1
-
10.0.0
-
11.0.0
-
12.0.1
- 13.0.0
Package
Version
Supposed error message
Full log
Bug report
switchsh
0~20070801-4
switchsh.c:69:14: error: unused parameter 'argc' [-Werror,-Wunused-parameter]
Log
1 errors
Return to the list