"Tautological comparison" build failure(s)
clang 3.9.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-2 | 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
|
libmlx5 | 1.2.1-1 | src/verbs.c:1228:15: 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
|
memcached | 1.4.33-1 | items.c:151:28: 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
|
openzwave | 1.5+ds-4 | hid.c:308:14: error: comparison of unsigned enum expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
|
ploop | 1.15-2 | ploop.c:3739:24: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
ripole | 0.2.0+20081101.0215-3 | 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