"Tautological comparison" build failure(s)
clang 3.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 |
arpon | 2.0-2.1 | arpon.c:1114:71: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
bomberclone | 0.11.9-3 | udp.c:268:20: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
holotz-castle | 1.3.14-4 | ../JLib/JLib/Util/JString.h:408:13: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754226
|
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.1-2 | modbus.c:1406: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.1-2 | src/iostring.cc:533:13: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
754323
|
modemmanager | 0.5-1 | mm-generic-cdma.c:594:17: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
|
network-manager-openvpn | 0.9.2.0-1 | auth-helpers.c:1585:60: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
network-manager-vpnc | 0.9.2.0-1 | nm-vpnc-service-vpnc-helper.c:355:11: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare]
| Log |
|
ocaml-libvirt | 0.6.1.0-2 | ./libvirt_c_epilogue.c:125:9: error: comparison of 0 <= unsigned enum expression is always true [-Werror,-Wtautological-compare]
| Log |
754419
|
parted | 2.3-8 | ../../lib/regex_internal.c:1395: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
|
spice | 0.10.0-1 | display_channel.cpp:1499:59: error: self-comparison always evaluates to false [-Werror,-Wtautological-compare]
| Log |
|
subtle | 0.10.3008nu-3 | src/subtlext/tray.c:229:8: error: comparison of 0 <= unsigned expression is always true [-Werror,-Wtautological-compare]
| Log |
|
tpm-tools | 1.3.7-1 | tpm_nvwrite.c:223:14: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753063
|
16 errors