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
Package
Version
Supposed error message
Full log
network-manager-strongswan
1.1.2-2
main.c:235:41: error: if statement has empty body [-Werror,-Wempty-body]
Log
Return to the list