"Tautological comparison" build failure(s)
clang 2.9
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-2.1 | string.c:68:24: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
753543
|
bomberclone | 0.11.9-3 | udp.c:268:20: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
freetype | 2.4.6-2 | gxvmorx2.c:201:47: 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
|
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 | 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
|
libunique | 1.1.6-2 | uniquebackend-bacon.c:417:15: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
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.8.4-1 | auth-helpers.c:1489:60: error: comparison of unsigned expression < 0 is always false [-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
|
oss4 | 4.2-build2004-1 | savemixer.c:297:35: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
splashy | 0.3.13-5.1 | splashy_video.c:408:40: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
| Log |
|
subtle | 0.10.3008nu-2 | src/subtlext/tray.c:229:8: error: comparison of 0 <= unsigned expression is always true [-Werror,-Wtautological-compare]
| Log |
|
14 errors