Debian Package rebuild

Rebuild of the Debian archive with clang

"Tautological pointer comparison" build failure(s)
clang 9.0.1
Return to the list
Incorrect code...
#include 
void foo() {
 int arr[5];
 int x;
 // warn on these conditionals
 if (foo);
 if (arr);
 if (&x);
 if (foo == NULL);
 if (arr == NULL);
 if (&x == NULL);
}

void f(int &x) {
 if (&x == nullptr) { }
}
gcc with -Wall also detects some of these errors but not the one involving NULL.
Versions: 2.9 - 3.0 - 3.1 - 3.2 - 3.3 - 3.4 - 3.4.2 - 3.5.0 - 3.6.0 - 3.8.1 - 3.9.1 - 4.0.1 - 5.0 - 6.0 - 8.0.1 - 9.0.1 - 10.0.0 - 11.0.0 - 12.0.1 - 13.0.0
PackageVersionSupposed error messageFull log Bug report
cups-bjnp 2.0.3-1bjnp-commands.c:188:9: error: comparison of array 'printer_id' not equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare] Log
w1retap 1.4.4-3weather.c:382:13: error: comparison of array 'wet->ds2401' equal to a null pointer is always false [-Werror,-Wtautological-pointer-compare] Log
2 errors
Return to the list