"Tautological comparison" build failure(s)
clang 3.4.2
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 |
axis2c | 1.6.0-6 | string.c:68:24: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753543
|
core-network | 4.6-5 | vnode_server.c:338:41: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753544
|
efibootmgr | 0.7.0-1 | src/lib/efi.c:336:14: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753644
|
goplay | 0.5-1.1 | pkgbrowser.cpp:329:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753645
|
grail | 3.1.0-2 | subscription.cpp:108:19: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753646
|
holotz-castle | 1.3.14-6 | ../JLib/JLib/Util/JString.h:408:13: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754226
|
ion | 3.2.0~dfsg1-1 | nm/shared/adm/adm.c:970:10: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
754319
|
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
|
libpam-chroot | 0.9-4.1 | pam_chroot.c:190:21: error: comparison of 0 > unsigned expression is always false [-Werror,-Wtautological-compare]
| Log |
754322
|
libshevek | 1.3-1 | src/iostring.cc:536:13: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754323
|
libxs | 1.2.0-1.1 | decoder.cpp:74:24: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754324
|
network-manager-iodine | 0.0.5~0.gita09ce6-1 | nm-iodine-service.c:418:20: error: comparison of unsigned enum expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754325
|
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
|
parted | 2.3-20 | ../../lib/regex_internal.c:1397:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
754588
|
simulavr | 0.1.2.2-6.2 | disp.c:463:25: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754591
|
15 errors