[LLVMbugs] [Bug 22991] New: ClangCheck.cpp Compile Error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 22 23:17:32 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=22991

            Bug ID: 22991
           Summary: ClangCheck.cpp Compile Error
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nshi_nb at hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

OS: CentOS 6.6 x86_64
CMake: 2.8.12.2
gcc/g++: 4.7.4
glibc: libstdc++.so.6.0.17
python: 2.7.9


CMakeFiles/clang-check.dir/ClangCheck.cpp.o: In function
`std::unique_ptr<clang::tooling::FrontendActionFactory,
std::default_delete<clang::tooling::FrontendActionFactory> >
clang::tooling::newFrontendActionFactory<(anonymous
namespace)::ClangCheckActionFactory>((anonymous
namespace)::ClangCheckActionFactory*,
clang::tooling::SourceFileCallbacks*)::FrontendActionFactoryAdapter::ConsumerFactoryAdaptor::ConsumerFactoryAdaptor((anonymous
namespace)::ClangCheckActionFactory*, clang::tooling::SourceFileCallbacks*)':
ClangCheck.cpp:(.text._ZZN5clang7tooling24newFrontendActionFactoryIN12_GLOBAL__N_123ClangCheckActionFactoryEEESt10unique_ptrINS0_21FrontendActionFactoryESt14default_deleteIS5_EEPT_PNS0_19SourceFileCallbacksEEN28FrontendActionFactoryAdapter22ConsumerFactoryAdaptorC2EPS3_SC_+0x27):
undefined reference to `vtable for
std::unique_ptr<clang::tooling::FrontendActionFactory,
std::default_delete<clang::tooling::FrontendActionFactory> >
clang::tooling::newFrontendActionFactory<(anonymous
namespace)::ClangCheckActionFactory>((anonymous
namespace)::ClangCheckActionFactory*,
clang::tooling::SourceFileCallbacks*)::FrontendActionFactoryAdapter::ConsumerFactoryAdaptor'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/clang-check] Error 1
make[1]: *** [tools/clang/tools/clang-check/CMakeFiles/clang-check.dir/all]
Error 2
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150323/89a22123/attachment.html>


More information about the llvm-bugs mailing list