clang 7 on centos 7


I am trying to build clang 7.0.0 :
4c946b7981db07c0108f8ea6c539a5611f754923 in llvm
a007b984aefa2192b58a534ce3087f43cd21fb27 in clang
a14a64836c6c220a6b966a7269a254557b3f8749 in extra

No problem on Debian stable with gcc 6.3.0.

However on Centos 7 with gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) I
had the following error :

llvm_7.0/tools/clang/tools/extra/clangd/CodeComplete.cpp: In member
function ‘const string*
clang::clangd::{anonymous}::CodeCompletionBuilder::onlyValue() const’:
llvm_7.0/tools/clang/tools/extra/clangd/CodeComplete.cpp:365:24: error:
taking address of temporary [-fpermissive]
return &(B->*Member);

Any ideas ?

I know clang 5 built fine but never tried to build clang 6 on centos 7,
so the problem could be in clang 6 as well.