"Empty body declaration" build failure(s) — clang 3.4.2
-Wempty-body warning is enabled by default which is not the case with gcc.
int main() {
if (1);
}
clang -Werror -c plop.c| Package | Version | Supposed error message | Full log | Bug report |
|---|---|---|---|---|
| libiscsi | 1.11.0-4 | test_preventallow_cold_reset.c:54:45: error: while loop has empty body [-Werror,-Wempty-body] | Log | |
| libnsgif | 0.0.1-1.1 | src/libnsgif.c:912:120: error: while loop has empty body [-Werror,-Wempty-body] | Log | |
| sendip | 2.5-5 | rip.c:64:38: error: while loop has empty body [-Werror,-Wempty-body] | Log |
3 errors