"Tautological comparison" build failure(s)
clang 3.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 |
axis2c | 1.6.0-6 | string.c:68:24: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753543
|
goplay | 0.5-1.2 | 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
|
libxs | 1.2.0-1.1 | decoder.cpp:74:24: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754324
|
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
|
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
|
10 errors