Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. ➜ build git:(master) ✗ brew install cmake llvm@7
  2. Updating Homebrew...
  3. ==> Auto-updated Homebrew!
  4. Updated 1 tap (homebrew/core).
  5. ==> New Formulae
  6. spirv-cross
  7. ==> Updated Formulae
  8. annie librsvg openconnect postgresql@9.5 postgresql@9.6 pyside qt
  9.  
  10. Warning: cmake 3.13.4 is already installed and up-to-date
  11. To reinstall 3.13.4, run `brew reinstall cmake`
  12. Warning: llvm 7.0.1 is already installed and up-to-date
  13. To reinstall 7.0.1, run `brew reinstall llvm`
  14. ➜ build git:(master) ✗ brew outdated llvm@7 || brew upgrade llvm@7
  15. ➜ build git:(master) ✗ cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@7/
  16. Configuring zig version 0.3.0+356cfa08
  17. -- Configuring done
  18. -- Generating done
  19. -- Build files have been written to: /Users/john.schmidt/repos/zig/build
  20. ➜ build git:(master) ✗ make install
  21. [ 0%] Built target embedded_blake
  22. [ 16%] Built target embedded_lld_lib
  23. [ 64%] Built target embedded_softfloat
  24. [ 68%] Built target embedded_lld_wasm
  25. [ 69%] Building CXX object CMakeFiles/zig_cpp.dir/src/zig_clang.cpp.o
  26. In file included from /Users/john.schmidt/repos/zig/src/zig_clang.cpp:35:
  27. /Users/john.schmidt/repos/zig/src/zig_clang.h:243:37: error: 'ZigClangSourceManager_getSpellingLoc' has C-linkage specified, but returns user-defined type 'clang::SourceLocation' which is incompatible with C
  28. [-Werror,-Wreturn-type-c-linkage]
  29. ZIG_EXTERN_C ZigClangSourceLocation ZigClangSourceManager_getSpellingLoc(const ZigClangSourceManager *,
  30. ^
  31. /Users/john.schmidt/repos/zig/src/zig_clang.cpp:147:81: error: static_assert with no message is a C++17 extension [-Werror,-Wc++17-extensions]
  32. static_assert(sizeof(ZigClangABISourceLocation) == sizeof(clang::SourceLocation));
  33. ^
  34. , ""
  35. 2 errors generated.
  36. make[2]: *** [CMakeFiles/zig_cpp.dir/src/zig_clang.cpp.o] Error 1
  37. make[1]: *** [CMakeFiles/zig_cpp.dir/all] Error 2
  38. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement