[LLVMdev] Compile error "YAMLTraits.cpp" for C++ member detector function

Sunil Saggar sunil.saggar at gmail.com
Wed Dec 26 06:08:27 PST 2012


Hi All,

I am trying to compile latest llvm code using xlc 12.1 on AIX and got the
following error. I am trying to debug the issue. Has anybody seen the issue
on linux/gcc or is it just xlc specific ?


[  0%] Building CXX object
lib/Support/CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o
"/llvm/version2/llvm/include/llvm/Support/YAMLTraits.h", line 264.20:
1540-0118 (S) A class name is expected in the base specifier.
1540-0700 (I) The previous message was produced while processing "struct
llvm::yaml::has_FlowTraits<const class llvm::StringRef,1>::Derived".
"/llvm/version2/llvm/include/llvm/Support/YAMLTraits.h", line 281.8:
1540-0700 (I) The previous message was produced while processing "struct
llvm::yaml::has_SequenceTraits<const llvm::StringRef>".
"/llvm/version2/llvm/lib/Support/YAMLTraits.cpp", line 589.6: 1540-0700 (I)
The previous message was produced while processing
"llvm::yaml::ScalarTraits<llvm::StringRef>::output(const StringRef &, void
*, raw_ostream &)".


Thanks
Sunil Saggar


-- 
-------------------
Thanks
Sunil Saggar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121226/d9fffaa6/attachment.html>


More information about the llvm-dev mailing list