"Tautological comparison" build failure(s)
clang 3.1
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 |
|
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
|
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
|
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
|
parted | 2.3-9.2 | ../../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
|
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
|
7 errors