Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arter97@arter97-desktop:~/android/Magisk$ ./build.py binary
- * Building binaries: busybox magiskinit magiskboot magisk
- jni/core/bootstages.cpp:195:2: warning: struct 'node_entry' was previously declared as a class [-Wmismatched-tags]
- struct node_entry *dummy;
- ^
- jni/core/bootstages.cpp:59:7: note: previous use is here
- class node_entry {
- ^
- 1 warning generated.
- jni/su/pts.cpp:86:7: warning: unused variable 'sn_tmp' [-Wunused-variable]
- char sn_tmp[256];
- ^
- 1 warning generated.
- In file included from jni/su/su.cpp:29:
- jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
- struct db_settings cfg;
- ^
- jni/include/db.h:58:7: note: previous use is here
- class db_settings {
- ^
- jni/su/su.h:26:2: note: did you mean class here?
- struct db_settings cfg;
- ^~~~~~
- class
- jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
- struct db_strings str;
- ^
- jni/include/db.h:87:7: note: previous use is here
- class db_strings {
- ^
- jni/su/su.h:27:2: note: did you mean class here?
- struct db_strings str;
- ^~~~~~
- class
- jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- struct su_info *info;
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:63:2: note: did you mean class here?
- struct su_info *info;
- ^~~~~~
- class
- jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:72:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info);
- ^~~~~~
- class
- jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:73:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info);
- ^~~~~~
- class
- In file included from jni/su/connect.cpp:19:
- jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
- struct db_settings cfg;
- ^
- jni/include/db.h:58:7: note: previous use is here
- class db_settings {
- ^
- jni/su/su.h:26:2: note: did you mean class here?
- struct db_settings cfg;
- ^~~~~~
- class
- jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
- struct db_strings str;
- ^
- jni/include/db.h:87:7: note: previous use is here
- class db_strings {
- ^
- jni/su/su.h:27:2: note: did you mean class here?
- struct db_strings str;
- ^~~~~~
- class
- jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- struct su_info *info;
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:63:2: note: did you mean class here?
- struct su_info *info;
- ^~~~~~
- class
- jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:72:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info);
- ^~~~~~
- class
- jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:73:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info);
- ^~~~~~
- class
- jni/su/connect.cpp:34:43: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- static void silent_run(const char **args, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:34:43: note: did you mean class here?
- static void silent_run(const char **args, struct su_info *info) {
- ^~~~~~
- class
- jni/su/connect.cpp:57:36: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- static void setup_user(char *user, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:57:36: note: did you mean class here?
- static void setup_user(char *user, struct su_info *info) {
- ^~~~~~
- class
- jni/su/connect.cpp:125:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:125:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info) {
- ^~~~~~
- class
- jni/su/connect.cpp:139:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:139:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info) {
- ^~~~~~
- class
- 5 warnings generated.
- 9 warnings generated.
- In file included from jni/su/su_daemon.cpp:19:
- jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
- struct db_settings cfg;
- ^
- jni/include/db.h:58:7: note: previous use is here
- class db_settings {
- ^
- jni/su/su.h:26:2: note: did you mean class here?
- struct db_settings cfg;
- ^~~~~~
- class
- jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
- struct db_strings str;
- ^
- jni/include/db.h:87:7: note: previous use is here
- class db_strings {
- ^
- jni/su/su.h:27:2: note: did you mean class here?
- struct db_strings str;
- ^~~~~~
- class
- jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- struct su_info *info;
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:63:2: note: did you mean class here?
- struct su_info *info;
- ^~~~~~
- class
- jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:72:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info);
- ^~~~~~
- class
- jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:73:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info);
- ^~~~~~
- class
- jni/su/su_daemon.cpp:29:40: warning: field '_lock' will be initialized after field 'count' [-Wreorder]
- uid(uid), access(DEFAULT_SU_ACCESS), _lock(PTHREAD_MUTEX_INITIALIZER),
- ^
- jni/su/su_daemon.cpp:30:21: warning: field 'timestamp' will be initialized after field 'mgr_st' [-Wreorder]
- count(0), ref(0), timestamp(0), mgr_st({}) {}
- ^
- jni/su/su_daemon.cpp:93:8: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- static struct su_info *get_su_info(unsigned uid) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su_daemon.cpp:93:8: note: did you mean class here?
- static struct su_info *get_su_info(unsigned uid) {
- ^~~~~~
- class
- jni/systemproperties/prop_area.cpp:323:15: warning: unused variable 'remaining_name' [-Wunused-variable]
- const char* remaining_name = name;
- ^
- 8 warnings generated.
- 1 warning generated.
- jni/core/bootstages.cpp:195:2: warning: struct 'node_entry' was previously declared as a class [-Wmismatched-tags]
- struct node_entry *dummy;
- ^
- jni/core/bootstages.cpp:59:7: note: previous use is here
- class node_entry {
- ^
- 1 warning generated.
- jni/su/pts.cpp:86:7: warning: unused variable 'sn_tmp' [-Wunused-variable]
- char sn_tmp[256];
- ^
- 1 warning generated.
- In file included from jni/su/su.cpp:29:
- jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
- struct db_settings cfg;
- ^
- jni/include/db.h:58:7: note: previous use is here
- class db_settings {
- ^
- jni/su/su.h:26:2: note: did you mean class here?
- struct db_settings cfg;
- ^~~~~~
- class
- jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
- struct db_strings str;
- ^
- jni/include/db.h:87:7: note: previous use is here
- class db_strings {
- ^
- jni/su/su.h:27:2: note: did you mean class here?
- struct db_strings str;
- ^~~~~~
- class
- jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- struct su_info *info;
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:63:2: note: did you mean class here?
- struct su_info *info;
- ^~~~~~
- class
- jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:72:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info);
- ^~~~~~
- class
- jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:73:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info);
- ^~~~~~
- class
- 5 warnings generated.
- In file included from jni/su/connect.cpp:19:
- jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
- struct db_settings cfg;
- ^
- jni/include/db.h:58:7: note: previous use is here
- class db_settings {
- ^
- jni/su/su.h:26:2: note: did you mean class here?
- struct db_settings cfg;
- ^~~~~~
- class
- jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
- struct db_strings str;
- ^
- jni/include/db.h:87:7: note: previous use is here
- class db_strings {
- ^
- jni/su/su.h:27:2: note: did you mean class here?
- struct db_strings str;
- ^~~~~~
- class
- jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- struct su_info *info;
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:63:2: note: did you mean class here?
- struct su_info *info;
- ^~~~~~
- class
- jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:72:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info);
- ^~~~~~
- class
- jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:73:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info);
- ^~~~~~
- class
- jni/su/connect.cpp:34:43: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- static void silent_run(const char **args, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:34:43: note: did you mean class here?
- static void silent_run(const char **args, struct su_info *info) {
- ^~~~~~
- class
- jni/su/connect.cpp:57:36: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- static void setup_user(char *user, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:57:36: note: did you mean class here?
- static void setup_user(char *user, struct su_info *info) {
- ^~~~~~
- class
- jni/su/connect.cpp:125:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:125:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info) {
- ^~~~~~
- class
- jni/su/connect.cpp:139:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/connect.cpp:139:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info) {
- ^~~~~~
- class
- 9 warnings generated.
- In file included from jni/su/su_daemon.cpp:19:
- jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
- struct db_settings cfg;
- ^
- jni/include/db.h:58:7: note: previous use is here
- class db_settings {
- ^
- jni/su/su.h:26:2: note: did you mean class here?
- struct db_settings cfg;
- ^~~~~~
- class
- jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
- struct db_strings str;
- ^
- jni/include/db.h:87:7: note: previous use is here
- class db_strings {
- ^
- jni/su/su.h:27:2: note: did you mean class here?
- struct db_strings str;
- ^~~~~~
- class
- jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- struct su_info *info;
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:63:2: note: did you mean class here?
- struct su_info *info;
- ^~~~~~
- class
- jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void app_connect(const char *socket, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:72:38: note: did you mean class here?
- void app_connect(const char *socket, struct su_info *info);
- ^~~~~~
- class
- jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- void socket_send_request(int fd, struct su_info *info);
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su.h:73:34: note: did you mean class here?
- void socket_send_request(int fd, struct su_info *info);
- ^~~~~~
- class
- jni/su/su_daemon.cpp:29:40: warning: field '_lock' will be initialized after field 'count' [-Wreorder]
- uid(uid), access(DEFAULT_SU_ACCESS), _lock(PTHREAD_MUTEX_INITIALIZER),
- ^
- jni/su/su_daemon.cpp:30:21: warning: field 'timestamp' will be initialized after field 'mgr_st' [-Wreorder]
- count(0), ref(0), timestamp(0), mgr_st({}) {}
- ^
- jni/su/su_daemon.cpp:93:8: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
- static struct su_info *get_su_info(unsigned uid) {
- ^
- jni/su/su.h:20:7: note: previous use is here
- class su_info {
- ^
- jni/su/su_daemon.cpp:93:8: note: did you mean class here?
- static struct su_info *get_su_info(unsigned uid) {
- ^~~~~~
- class
- 8 warnings generated.
- jni/systemproperties/prop_area.cpp:323:15: warning: unused variable 'remaining_name' [-Wunused-variable]
- const char* remaining_name = name;
- ^
- 1 warning generated.
- jni/magiskboot/cpio.cpp:67:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- 1 warning generated.
- jni/magiskboot/ramdisk.cpp:159:14: warning: variable 'res' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
- } else if (j == arr.size()) {
- ^~~~~~~~~~~~~~~
- jni/magiskboot/ramdisk.cpp:164:7: note: uninitialized use occurs here
- if (res < 0) {
- ^~~
- jni/magiskboot/ramdisk.cpp:159:10: note: remove the 'if' if its condition is always true
- } else if (j == arr.size()) {
- ^~~~~~~~~~~~~~~~~~~~~
- jni/magiskboot/ramdisk.cpp:150:10: note: initialize the variable 'res' to silence this warning
- int res;
- ^
- = 0
- 1 warning generated.
- jni/magiskpolicy/sepolicy.c:31:12: warning: unused function 'get_attr' [-Wunused-function]
- static int get_attr(const char *type, int value) {
- ^
- 1 warning generated.
- jni/magiskboot/cpio.cpp:67:6: warning: unused variable 'i' [-Wunused-variable]
- int i = 0;
- ^
- 1 warning generated.
- jni/magiskboot/ramdisk.cpp:159:14: warning: variable 'res' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
- } else if (j == arr.size()) {
- ^~~~~~~~~~~~~~~
- jni/magiskboot/ramdisk.cpp:164:7: note: uninitialized use occurs here
- if (res < 0) {
- ^~~
- jni/magiskboot/ramdisk.cpp:159:10: note: remove the 'if' if its condition is always true
- } else if (j == arr.size()) {
- ^~~~~~~~~~~~~~~~~~~~~
- jni/magiskboot/ramdisk.cpp:150:10: note: initialize the variable 'res' to silence this warning
- int res;
- ^
- = 0
- 1 warning generated.
- jni/magiskpolicy/sepolicy.c:31:12: warning: unused function 'get_attr' [-Wunused-function]
- static int get_attr(const char *type, int value) {
- ^
- 1 warning generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement