[llvm-bugs] [Bug 39505] New: build error on on Centos 7 with gcc version 4.8.2
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 31 00:51:13 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39505
Bug ID: 39505
Summary: build error on on Centos 7 with gcc version 4.8.2
Product: clang-tools-extra
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: clangd
Assignee: unassignedclangbugs at nondot.org
Reporter: chantry.xavier at gmail.com
CC: llvm-bugs at lists.llvm.org
Hello,
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.
Cheers,
Xavier
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181031/54f91884/attachment-0001.html>
More information about the llvm-bugs
mailing list