Note that there are some explanatory texts on larger screens.

plurals
  1. POclang API for parsing C++ code
    primarykey
    data
    text
    <p>I need clang API to do parsing of C++ programs. I installed clang 2.9 (along with llvm. The installation went fine, now i figured out that i need to install libc++ also. The thing is I get errors following while i try to 'make' libc++ from source.</p> <p>[ 4%] Building CXX object lib/CMakeFiles/cxx.dir/__/src/iostream.cpp.o</p> <p>In file included from /home/vmplanet/usr/libcxx/include/typeinfo:61:0,</p> <pre><code> from /home/vmplanet/usr/libcxx/include/memory:590, from /home/vmplanet/usr/libcxx/include/algorithm:594, from /home/vmplanet/usr/libcxx/include/string:434, from /home/vmplanet/usr/libcxx/include/__locale:15, from /home/vmplanet/usr/libcxx/include/ios:216, from /home/vmplanet/usr/libcxx/include/ostream:130, from /home/vmplanet/usr/libcxx/include/__std_stream:15, from /home/vmplanet/usr/libcxx/src/iostream.cpp:10: </code></pre> <p>/home/vmplanet/usr/libcxx/include/exception: In member function ‚'std::exception_ptr::operator bool() const‚':</p> <p>/home/vmplanet/usr/libcxx/include/exception:134:59: error: no match for ‚'operator!=‚' in ‚'((const</p> <p>std::exception_ptr*)this)->std::exception_ptr::_<em>ptr</em> != std::_<em>1::</em>_get_nullptr_t()‚' /home/vmplanet/usr/libcxx/include/cstddef:76:39: note: candidate is: bool std::_<em>1::operator!=(std::</em>_1::nullptr_t, std::__1::nullptr_t)</p> <p>make[2]: <em>*</em> [lib/CMakeFiles/cxx.dir/__/src/iostream.cpp.o] Error 1</p> <p>make[1]: <em>*</em> [lib/CMakeFiles/cxx.dir/all] Error 2</p> <p>make: <em>*</em> [all] Error 2 </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload