2014-06-23 25 views
0

我试图编译保鲜(其次build instructions),我无法找到的bug报告的邮件列表:编译保鲜错误

llvm[4]: Compiling AutoSynthesizer.cpp for Debug+Asserts build 
llvm[4]: Compiling AutoloadCallback.cpp for Debug+Asserts build 
/Users/asmirnov/Documents/dev/src/llvm_cling/tools/cling/lib/Interpreter/AutoloadCallback.cpp:16:67: error: 
     expected a class or namespace 
     = sema.getDiagnostics().getCustomDiagID (DiagnosticsEngine::Level::Warning, 
               ~~~~~~~~~~~~~~~~~~~^ 
1 error generated. 
make[4]: *** [/Users/asmirnov/Documents/dev/src/llvm_cling_build/tools/cling/lib/Interpreter/Debug+Asserts/AutoloadCallback.o] Error 1 

回答

1

使用-enable-cxx11配置选项。之后更新了构建教程。