From Sloppy Cassowary, 5 Years ago, written in Plain Text.
Embed
  1. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/malloc.h:30:74: warning: unknown attribute 'alloc_size' ignored [-Wunknown-attributes]
  2. extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1)));
  3.                                                                          ^
  4. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/malloc.h:31:92: warning: unknown attribute 'alloc_size' ignored [-Wunknown-attributes]
  5. extern void* calloc(size_t item_count, size_t item_size) __mallocfunc __wur __attribute__((alloc_size(1,2)));
  6.                                                                                            ^
  7. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/malloc.h:32:71: warning: unknown attribute 'alloc_size' ignored [-Wunknown-attributes]
  8. extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2)));
  9.                                                                       ^
  10. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/malloc.h:35:94: warning: unknown attribute 'alloc_size' ignored [-Wunknown-attributes]
  11. extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
  12.                                                                                              ^
  13. In file included from ./run-as.c:1:
  14. In file included from /usr/local/ndk/platforms/android-21/arch-arm/usr/include/unistd.h:34:
  15. In file included from /usr/local/ndk/platforms/android-21/arch-arm/usr/include/sys/select.h:35:
  16. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/signal.h:86:18: error: expected ';' at end of declaration list
  17.     sighandler_t sa_handler;
  18.                  ^
  19. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/asm/signal.h:101:22: note: expanded from macro 'sa_handler'
  20. #define sa_handler _u._sa_handler
  21.                      ^
  22. In file included from ./run-as.c:1:
  23. In file included from /usr/local/ndk/platforms/android-21/arch-arm/usr/include/unistd.h:34:
  24. In file included from /usr/local/ndk/platforms/android-21/arch-arm/usr/include/sys/select.h:35:
  25. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/signal.h:87:12: error: expected ')'
  26.     void (*sa_sigaction)(int, struct siginfo*, void*);
  27.            ^
  28. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/asm/signal.h:102:24: note: expanded from macro 'sa_sigaction'
  29. #define sa_sigaction _u._sa_sigaction
  30.                        ^
  31. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/signal.h:87:10: note: to match this '('
  32.     void (*sa_sigaction)(int, struct siginfo*, void*);
  33.          ^
  34. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/signal.h:87:12: error: duplicate member '_u'
  35.     void (*sa_sigaction)(int, struct siginfo*, void*);
  36.            ^
  37. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/asm/signal.h:102:22: note: expanded from macro 'sa_sigaction'
  38. #define sa_sigaction _u._sa_sigaction
  39.                      ^
  40. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/signal.h:86:18: note: previous declaration is here
  41.     sighandler_t sa_handler;
  42.                  ^
  43. /usr/local/ndk/platforms/android-21/arch-arm/usr/include/asm/signal.h:101:20: note: expanded from macro 'sa_handler'
  44. #define sa_handler _u._sa_handler
  45.                    ^
  46. 4 warnings and 3 errors generated.
  47. make[1]: *** [obj/local/arm64-v8a/objs/run-as/run-as.o] Error 1
  48.