"Tautological comparison" build failure(s)
clang 10.0.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 |
pmdk | 1.8-1 | obj_basic_integration.c:659:15: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
| Log |
|
raqm | 0.7.0-4 | raqm.c:1934:24: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare]
| Log |
|
smcroute | 2.4.2-4 | conf.c:351:19: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare]
| Log |
|
w1retap | 1.4.4-3 | owfile.c:1843:51: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare]
| Log |
|
4 errors