Displaying 2 results from an estimated 2 matches for "openfileforread".
2018 Jun 08
2
Fail to install llvm/clang on debian
...w the instruction:
http://cilium.readthedocs.io/en/latest/bpf/#llvm
But during in compiling, i alway get:
...
/home/yubo/git/llvm/tools/clang/lib/Basic/VirtualFileSystem.cpp: In member function ‘virtual llvm::ErrorOr<std::unique_ptr<clang::vfs::File> > {anonymous}::RealFileSystem::openFileForRead(const llvm::Twine&)’:
/home/yubo/git/llvm/tools/clang/lib/Basic/VirtualFileSystem.cpp:262:46: error: ‘OF_None’ is not a member of ‘llvm::sys::fs’ sys::fs::openFileForRead(Name, FD, sys::fs::OF_None, &RealName))
[ 75%] Building CXX object tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.d...
2013 Jul 18
2
[LLVMdev] Compile Error SVN
llvm[2]: Compiling FileSystemStatCache.cpp for Release+Asserts build
FileSystemStatCache.cpp: In static member function 'static bool
clang::FileSystemStatCache::get(const char*, stat&, bool, int*,
clang::FileSystemStatCache*)':
FileSystemStatCache.cpp:63: error: 'openFileForRead' is not a member of
'llvm::sys::fs'
make[2]: ***
[/root/llvm-3.3.src/tools/clang/lib/Basic/Release+Asserts/FileSystemStatCache.o]
Error 1
make[2]: Leaving directory `/root/llvm-3.3.src/tools/clang/lib/Basic'
make[1]: *** [Basic/.makeall] Error 2
make[1]: Leaving directory `/root/llv...