I've fixed this specific error in r164813. Please let me know if there are more behind it.<br><br><div class="gmail_quote">On Thu, Sep 27, 2012 at 2:16 PM, Sid Manning <span dir="ltr"><<a href="mailto:sidneym@codeaurora.org" target="_blank">sidneym@codeaurora.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I just updated my llvm sources (revision 164794.) and I see the error, "overriding non-deleted function" when building with gcc 4.7.0 and passing -std=c++11.<br>
<br>
/usr2/sidneym/llvm/tools/<u></u>install/bin/c++   -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=c++11 -fPIC -fvisibility-inlines-hidden -I/local/scratch/llvm-tmp/<u></u>build/lib/VMCore -I/local/scratch/llvm-tmp/<u></u>llvm/lib/VMCore -I/local/scratch/llvm-tmp/<u></u>build/include -I/local/scratch/llvm-tmp/<u></u>llvm/include    -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fno-exceptions -o CMakeFiles/LLVMCore.dir/<u></u>AsmWriter.cpp.o -c /local/scratch/llvm-tmp/llvm/<u></u>lib/VMCore/AsmWriter.cpp<br>

In file included from /local/scratch/llvm-tmp/llvm/<u></u>lib/VMCore/AsmWriter.cpp:27:0:<br>
/local/scratch/llvm-tmp/llvm/<u></u>include/llvm/Operator.h:38:3: error: deleted function 'virtual llvm::Operator::~Operator()'<br>
In file included from /local/scratch/llvm-tmp/llvm/<u></u>include/llvm/Constant.h:17:0,<br>
                 from /local/scratch/llvm-tmp/llvm/<u></u>include/llvm/Constants.h:24,<br>
                 from /local/scratch/llvm-tmp/llvm/<u></u>lib/VMCore/AsmWriter.cpp:22:<br>
/local/scratch/llvm-tmp/llvm/<u></u>include/llvm/User.h:62:3: error: overriding non-deleted function 'virtual llvm::User::~User()'<br>
make[2]: *** [lib/VMCore/CMakeFiles/<u></u>LLVMCore.dir/AsmWriter.cpp.o] Error 1<br>
make[2]: Leaving directory `/local/scratch/llvm-tmp/<u></u>build'<br>
make[1]: *** [lib/VMCore/CMakeFiles/<u></u>LLVMCore.dir/all] Error 2<br>
make[1]: Leaving directory `/local/scratch/llvm-tmp/<u></u>build'<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>~Craig<br>