[cfe-dev] compile error on Win7 / mingw32
Ulrich Schmidt
u.sch.zw at gmx.de
Wed Sep 24 03:12:45 PDT 2014
I tried to compile LLVM+Clang on windows7 using MinGW32[1] and get a
compile error since a few revisions.
Please see attached captured output.
I dont know i found a bug or i did something wrong. ( I compiled
sucessfully 1..2 weeks ago.)
Any suggestions?
Ulrich Schmidt
[1]: http://sourceforge.net/projects/mingw/
-------------- next part --------------
[ 76%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseStmt.cpp.obj
[ 76%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseStmtAsm.cpp.obj
C:\LLVM\tools\clang\lib\Parse\ParseStmtAsm.cpp: In member function 'clang::StmtResult clang::Parser:
:ParseMicrosoftAsmStatement(clang::SourceLocation)':
C:\LLVM\tools\clang\lib\Parse\ParseStmtAsm.cpp:525:26: error: cannot declare variable 'Callback' to be of abstract type '{anonymous}::ClangAsmParserCallback'
ClangAsmParserCallback Callback(*this, AsmLoc, AsmString, AsmToks,
^
C:\LLVM\tools\clang\lib\Parse\ParseStmtAsm.cpp:37:7: note: because the following virtual functions
are pure within '{anonymous}::ClangAsmParserCallback':
class ClangAsmParserCallback : public llvm::MCAsmParserSemaCallback {
^
In file included from C:\LLVM\tools\clang\lib\Parse\ParseStmtAsm.cpp:25:0:
C:/LLVM/include/llvm/MC/MCParser/MCAsmParser.h:55:21: note: virtual llvm::StringRef llvm::MCAsmParserSemaCallback::LookupInlineAsmLabel(llvm::StringRef, llvm::SourceMgr&, llvm::SMLoc, bool)
virtual StringRef LookupInlineAsmLabel(StringRef Identifier, SourceMgr &SM,
^
tools\clang\lib\Parse\CMakeFiles\clangParse.dir\build.make:318: recipe for target 'tools/clang/lib/Parse/CMakeFiles/clangParse.dir/P
arseStmtAsm.cpp.obj' failed
make[2]: *** [tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseStmtAsm.cpp.obj] Error 1
CMakeFiles\Makefile2:6905: recipe for target 'tools/clang/lib/Parse/CMakeFiles/clangParse.dir/all' failed
make[1]: *** [tools/clang/lib/Parse/CMakeFiles/clangParse.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
C:\LLVM\_build>
More information about the cfe-dev
mailing list