"Unused function" build failure(s) — clang 4.0.1

-Wall -Werror are including the option -Wunused-function. Without not the case with g++
namespace { 
   void dummy_for_semicolon_do_not_use();
}
PackageVersionSupposed error messageFull log Bug report
infinipath-psm 3.3+19.g67c0807.open-3ptl.c:539:1: error: unused function 'ips_lock_shared_context' [-Werror,-Wunused-function] Log
libcerf 1.3-2w_of_z.c:79:21: error: unused function 'cpolar' [-Werror,-Wunused-function] Log

2 errors