Advertisement
Guest User

Untitled

a guest
Oct 21st, 2020
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.84 KB | None | 0 0
  1. $ g++ -DXP_UNIX -Wall -Werror -o service ./frameworks/native/cmds/service/service.cpp
  2. In file included from ./frameworks/native/cmds/service/service.cpp:17:
  3. In file included from ./frameworks/native/include/binder/Parcel.h:25:
  4. ./system/libbase/include/android-base/unique_fd.h:59:9: error: use of undeclared identifier 'android_fdsan_exchange_owner_tag'
  5. if (android_fdsan_exchange_owner_tag) {
  6. ^
  7. ./system/libbase/include/android-base/unique_fd.h:60:26: error: use of undeclared identifier 'android_fdsan_create_owner_tag'
  8. uint64_t old_tag = android_fdsan_create_owner_tag(ANDROID_FDSAN_OWNER_TYPE_UNIQUE_FD,
  9. ^
  10. ./system/libbase/include/android-base/unique_fd.h:62:26: error: use of undeclared identifier 'android_fdsan_create_owner_tag'
  11. uint64_t new_tag = android_fdsan_create_owner_tag(ANDROID_FDSAN_OWNER_TYPE_UNIQUE_FD,
  12. ^
  13. ./system/libbase/include/android-base/unique_fd.h:64:7: error: use of undeclared identifier 'android_fdsan_exchange_owner_tag'
  14. android_fdsan_exchange_owner_tag(fd, old_tag, new_tag);
  15. ^
  16. ./system/libbase/include/android-base/unique_fd.h:68:9: error: use of undeclared identifier 'android_fdsan_close_with_tag'
  17. if (android_fdsan_close_with_tag) {
  18. ^
  19. ./system/libbase/include/android-base/unique_fd.h:69:22: error: use of undeclared identifier 'android_fdsan_create_owner_tag'
  20. uint64_t tag = android_fdsan_create_owner_tag(ANDROID_FDSAN_OWNER_TYPE_UNIQUE_FD,
  21. ^
  22. ./system/libbase/include/android-base/unique_fd.h:71:7: error: use of undeclared identifier 'android_fdsan_close_with_tag'
  23. android_fdsan_close_with_tag(fd, tag);
  24. ^
  25. In file included from ./frameworks/native/cmds/service/service.cpp:17:
  26. In file included from ./frameworks/native/include/binder/Parcel.h:29:
  27. ./system/core/libutils/include/utils/String16.h:228:1: error: C++ requires a type specifier for all declarations
  28. StaticString16(const F&)->StaticString16<sizeof(F) / sizeof(char16_t)>;
  29. ^
  30. In file included from ./frameworks/native/cmds/service/service.cpp:17:
  31. ./frameworks/native/include/binder/Parcel.h:125:50: error: no template named 'optional' in namespace 'std'
  32. status_t writeString16(const std::optional<String16>& str);
  33. ~~~~~^
  34. ./frameworks/native/include/binder/Parcel.h:137:53: error: no template named 'optional' in namespace 'std'
  35. status_t writeUtf8AsUtf16(const std::optional<std::string>& str);
  36. ~~~~~^
  37. ./frameworks/native/include/binder/Parcel.h:140:52: error: no template named 'optional' in namespace 'std'
  38. status_t writeByteVector(const std::optional<std::vector<int8_t>>& val);
  39. ~~~~~^
  40. ./frameworks/native/include/binder/Parcel.h:143:52: error: no template named 'optional' in namespace 'std'
  41. status_t writeByteVector(const std::optional<std::vector<uint8_t>>& val);
  42. ~~~~~^
  43. ./frameworks/native/include/binder/Parcel.h:146:53: error: no template named 'optional' in namespace 'std'
  44. status_t writeInt32Vector(const std::optional<std::vector<int32_t>>& val);
  45. ~~~~~^
  46. ./frameworks/native/include/binder/Parcel.h:149:53: error: no template named 'optional' in namespace 'std'
  47. status_t writeInt64Vector(const std::optional<std::vector<int64_t>>& val);
  48. ~~~~~^
  49. ./frameworks/native/include/binder/Parcel.h:152:54: error: no template named 'optional' in namespace 'std'
  50. status_t writeUint64Vector(const std::optional<std::vector<uint64_t>>& val);
  51. ~~~~~^
  52. ./frameworks/native/include/binder/Parcel.h:155:53: error: no template named 'optional' in namespace 'std'
  53. status_t writeFloatVector(const std::optional<std::vector<float>>& val);
  54. ~~~~~^
  55. ./frameworks/native/include/binder/Parcel.h:158:54: error: no template named 'optional' in namespace 'std'
  56. status_t writeDoubleVector(const std::optional<std::vector<double>>& val);
  57. ~~~~~^
  58. ./frameworks/native/include/binder/Parcel.h:161:52: error: no template named 'optional' in namespace 'std'
  59. status_t writeBoolVector(const std::optional<std::vector<bool>>& val);
  60. ~~~~~^
  61. ./frameworks/native/include/binder/Parcel.h:164:52: error: no template named 'optional' in namespace 'std'
  62. status_t writeCharVector(const std::optional<std::vector<char16_t>>& val);
  63. ~~~~~^
  64. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  65. 20 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement