[PATCH] D30010: Improve the robustness of mmap

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 16:16:18 PST 2017


krytarowski added a comment.

  In file included from /tmp/pkgsrc-tmp/wip/llvm-git/work/llvm/lib/Support/Path.cpp:1174:0:
  /tmp/pkgsrc-tmp/wip/llvm-git/work/llvm/lib/Support/Unix/Path.inc: In function 'std::error_code llvm::sys::fs::is_local(int, bool&)':
  /tmp/pkgsrc-tmp/wip/llvm-git/work/llvm/lib/Support/Unix/Path.inc:376:35: error: too many arguments to function 'bool llvm::sys::fs::is_local_impl(statvfs&)'
     return is_local_impl(Vfs, Result);
                                     ^
  /tmp/pkgsrc-tmp/wip/llvm-git/work/llvm/lib/Support/Unix/Path.inc:346:13: note: declared here
   static bool is_local_impl(struct STATVFS &Vfs) {
               ^
  /tmp/pkgsrc-tmp/wip/llvm-git/work/llvm/lib/Support/Unix/Path.inc:376:23: error: could not convert 'llvm::sys::fs::is_local_impl(Vfs)' from 'bool' to 'std::error_code'
     return is_local_impl(Vfs, Result);
                         ^
  [ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o
  [ 26%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
  --- lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o ---
  *** [lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o] Error code 1
  
  make[2]: stopped in /tmp/pkgsrc-tmp/wip/llvm-git/work/build

My host: NetBSD 7.99.59 amd64


https://reviews.llvm.org/D30010





More information about the llvm-commits mailing list