Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1.  
  2. In file included from device/qcom/common/init/init_msm.cpp:42:
  3. In file included from system/core/init/util.h:31:
  4. system/core/init/result.h:150:12: error: call to deleted constructor of 'android::init::Error'
  5. return Error(errno);
  6. ^~~~~~~~~~~~
  7. system/core/init/result.h:139:5: note: 'Error' has been explicitly marked deleted here
  8. Error(Error&&) = delete;
  9. ^
  10. system/core/init/result.h:159:50: error: no template named 'is_same_v' in namespace 'std'; did you mean 'is_same'?
  11. typename = std::enable_if_t<!(std::is_same_v<std::decay_t<U>, Result<T>> &&
  12. ~~~~~^~~~~~~~~
  13. is_same
  14. external/libcxx/include/type_traits:856:61: note: 'is_same' declared here
  15. template <class _Tp, class _Up> struct _LIBCPP_TEMPLATE_VIS is_same : public false_type {};
  16. ^
  17. In file included from device/qcom/common/init/init_msm.cpp:42:
  18. In file included from system/core/init/util.h:31:
  19. system/core/init/result.h:160:45: error: expected ')'
  20. sizeof...(V) == 0)>>
  21. ^
  22. system/core/init/result.h:159:44: note: to match this '('
  23. typename = std::enable_if_t<!(std::is_same_v<std::decay_t<U>, Result<T>> &&
  24. ^
  25. system/core/init/result.h:160:63: error: expected expression
  26. sizeof...(V) == 0)>>
  27. ^
  28. system/core/init/result.h:203:34: error: expected ',' or '>' in template-parameter-list
  29. std::variant<T, ResultError> contents_;
  30. ^
  31. system/core/init/result.h:203:43: warning: declaration does not declare anything [-Wmissing-declarations]
  32. std::variant<T, ResultError> contents_;
  33. ^
  34. system/core/init/result.h:206:22: error: no type named 'monostate' in namespace 'std'
  35. using Success = std::monostate;
  36. ~~~~~^
  37. In file included from device/qcom/common/init/init_msm.cpp:42:
  38. system/core/init/util.h:45:8: error: use of undeclared identifier 'Success'; did you mean 'access'?
  39. Result<Success> WriteFile(const std::string& path, const std::string& content);
  40. ^~~~~~~
  41. access
  42. bionic/libc/include/unistd.h:127:5: note: 'access' declared here
  43. int access(const char* __path, int __mode);
  44. ^
  45. In file included from device/qcom/common/init/init_msm.cpp:42:
  46. system/core/init/util.h:45:8: error: template argument for template type parameter must be a type
  47. Result<Success> WriteFile(const std::string& path, const std::string& content);
  48. ^~~~~~~
  49. system/core/init/result.h:153:20: note: template parameter is declared here
  50. template <typename T>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement