"Tautological comparison" build failure(s)
clang 3.8.1
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 |
bomberclone | 0.11.9-7 | udp.c:268:20: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
booth | 1.0-1 | transport.c:546:21: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
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
|
liberasurecode | 1.2.0-1 | erasurecode.c:1090:17: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
libpam-chroot | 0.9-4.2 | pam_chroot.c:190:21: error: comparison of 0 > unsigned expression is always false [-Werror,-Wtautological-compare]
| Log |
754322
|
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
|
nvme-cli | 0.8-2 | argconfig.c:261:21: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
ocaml-libvirt | 0.6.1.2-1 | ./libvirt_c_epilogue.c:125:9: error: comparison of 0 <= unsigned enum expression is always true [-Werror,-Wtautological-compare]
| Log |
754419
|
ploop | 1.15-1 | ploop.c:3739:24: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
ripole | 0.2.0+20081101.0215-2 | ole.c:674:26: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
simulavr | 0.1.2.2-7 | disp.c:463:25: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754591
|
11 errors