[LLVMbugs] [Bug 17569] New: lld build error (llvm::yaml namespaces)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 14 04:39:58 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17569
Bug ID: 17569
Summary: lld build error (llvm::yaml namespaces)
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: kraiskil at ovi.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11369
--> http://llvm.org/bugs/attachment.cgi?id=11369&action=edit
full error text
Building of llvm+clang+lld fails compiling MachONormalizedFileYAML.cpp with gcc
4.7 and 4.8 with about 20 errors like:
/home/kraiskil/llvm/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp:80:8:
error: specialization of ‘template<class T> struct llvm::yaml::SequenceTraits’
in different namespace [-fpermissive]
struct SequenceTraits< std::vector<Section> > {
^
In file included from
/home/kraiskil/llvm/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h:50:0,
from
/home/kraiskil/llvm/llvm/tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp:18:
/home/kraiskil/llvm/llvm/include/llvm/Support/YAMLTraits.h:129:8: error: from
definition of ‘template<class T> struct llvm::yaml::SequenceTraits’
[-fpermissive]
struct SequenceTraits {
^
Full error log attached.
Builds fine with clang-3.3.
--
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/20131014/ef33aeb0/attachment.html>
More information about the llvm-bugs
mailing list