Sunil Saggar
2012-Dec-26 14:08 UTC
[LLVMdev] Compile error "YAMLTraits.cpp" for C++ member detector function
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>
Sean Silva
2012-Dec-26 21:10 UTC
[LLVMdev] Compile error "YAMLTraits.cpp" for C++ member detector function
On Wed, Dec 26, 2012 at 7:08 AM, Sunil Saggar <sunil.saggar at gmail.com> wrote:> 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 ?We have many buildbots running linux/gcc so it is likely xlc specific. If you would like to avoid any build issues in the future on AIX/xlc your best bet is to add an AIX/xlc buildbot that will alert us to these issues as they are committed (see <http://llvm.org/docs/HowToAddABuilder.html>). -- Sean Silva