Debian Package rebuild
Rebuild of the Debian archive with clang
"Empty body declaration"
build failure(s)
clang 2.9
Return to the list
-Wempty-body warning is enabled by default which is not the case with gcc.
So, the following code will fail with clang but build with gcc:
int main() { if (1); }
clang -Werror -c plop.c
gcc -Werror -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
network-manager-strongswan
1.1.2-2
main.c:235:41: error: if statement has empty body [-Werror,-Wempty-body]
Log
1 errors
Return to the list