"Tautological comparison" build failure(s)
clang 3.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 |
arpon | 2.0-2.1 | arpon.c:1114:71: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
axis2c | 1.6.0-5.1 | string.c:68:24: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753543
|
crtools | 0.2-2 | parasite.c:49:10: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
holotz-castle | 1.3.14-5 | ../JLib/JLib/Util/JString.h:408:13: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754226
|
ion | 3.0.1~dfsg1-1 | ici/library/rfx.c:2361:26: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
754319
|
json-c | 0.10-1.2 | json_tokener.c:66:11: error: comparison of unsigned enum expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
libemu | 0.2.0+git20120122-1 | 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
|
libkqueue | 1.0.4-2 | src/common/filter.c:177:12: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
729591
|
libmodbus | 3.0.3-1 | modbus.c:1414:24: error: comparison of unsigned enum expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
|
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 | decoder.cpp:74:24: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754324
|
network-manager-iodine | 0.0.4-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-12 | ../../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
|
16 errors