"XXX does not refer to a value" build failure(s) — clang 6.0

No error detected for version 6.0