"Tautological comparison" build failure(s)
clang 5.0
Always true:
int main() {
unsigned int i = 0;
i < 0;
return 0;
}
gcc -Werror plop.c will accept this code while
clang -Werror plop.c will fail.
Package | Version | Supposed error message | Full log |
Bug report |
grail | 3.1.0-2.1 | subscription.cpp:108:19: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753646
|
libemu | 0.2.0+git20120122-1.2 | environment/win32/env_w32_dll_export_ws2_32_hooks.c:372:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
754321
|
libmlx5 | 1.2.1-1 | src/verbs.c:1228:15: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
libradsec | 0.0.5-4 | tcp.c:54:14: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
network-manager-iodine | 1.2.0-1 | nm-iodine-service.c:388:20: error: comparison of unsigned enum expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754325
|
simulavr | 0.1.2.2-7 | disp.c:463:25: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754591
|
6 errors