Debian Package rebuild

Rebuild of the Debian archive with clang

"Unused const variable" build failure(s)
clang 5.0
Return to the list
With -Wall, clang detects useless const declaration:
static const int foo = 4;
and will fails with
$ clang -Werror -Wall -c foo.c 
foo.c:1:18: error: unused variable 'cbib_initial_size'
      [-Werror,-Wunused-const-variable]
static const int cbib_initial_size = 4;
                 ^
1 error generated.

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
PackageVersionSupposed error messageFull log Bug report
alljoyn-core-1504 15.04b+dfsg.1-1alljoyn_core/router/UDPTransport.cc:449:16: error: unused variable 'UDP_WAIT_WATCHDOG_TIMEOUT' [-Werror,-Wunused-const-variable] Log
libyami 1.1.0-1bitWriter.cpp:27:16: error: unused variable 'CACHEBYTES' [-Werror,-Wunused-const-variable] Log
2 errors
Return to the list