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*
taking address of temporary [-fpermissive]
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.