Advertisement
arter97

Untitled

Feb 12th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.58 KB | None | 0 0
  1. arter97@arter97-desktop:~/android/Magisk$ ./build.py binary
  2.  
  3. * Building binaries: busybox magiskinit magiskboot magisk
  4.  
  5. jni/core/bootstages.cpp:195:2: warning: struct 'node_entry' was previously declared as a class [-Wmismatched-tags]
  6. struct node_entry *dummy;
  7. ^
  8. jni/core/bootstages.cpp:59:7: note: previous use is here
  9. class node_entry {
  10. ^
  11. 1 warning generated.
  12. jni/su/pts.cpp:86:7: warning: unused variable 'sn_tmp' [-Wunused-variable]
  13. char sn_tmp[256];
  14. ^
  15. 1 warning generated.
  16. In file included from jni/su/su.cpp:29:
  17. jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
  18. struct db_settings cfg;
  19. ^
  20. jni/include/db.h:58:7: note: previous use is here
  21. class db_settings {
  22. ^
  23. jni/su/su.h:26:2: note: did you mean class here?
  24. struct db_settings cfg;
  25. ^~~~~~
  26. class
  27. jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
  28. struct db_strings str;
  29. ^
  30. jni/include/db.h:87:7: note: previous use is here
  31. class db_strings {
  32. ^
  33. jni/su/su.h:27:2: note: did you mean class here?
  34. struct db_strings str;
  35. ^~~~~~
  36. class
  37. jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  38. struct su_info *info;
  39. ^
  40. jni/su/su.h:20:7: note: previous use is here
  41. class su_info {
  42. ^
  43. jni/su/su.h:63:2: note: did you mean class here?
  44. struct su_info *info;
  45. ^~~~~~
  46. class
  47. jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  48. void app_connect(const char *socket, struct su_info *info);
  49. ^
  50. jni/su/su.h:20:7: note: previous use is here
  51. class su_info {
  52. ^
  53. jni/su/su.h:72:38: note: did you mean class here?
  54. void app_connect(const char *socket, struct su_info *info);
  55. ^~~~~~
  56. class
  57. jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  58. void socket_send_request(int fd, struct su_info *info);
  59. ^
  60. jni/su/su.h:20:7: note: previous use is here
  61. class su_info {
  62. ^
  63. jni/su/su.h:73:34: note: did you mean class here?
  64. void socket_send_request(int fd, struct su_info *info);
  65. ^~~~~~
  66. class
  67. In file included from jni/su/connect.cpp:19:
  68. jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
  69. struct db_settings cfg;
  70. ^
  71. jni/include/db.h:58:7: note: previous use is here
  72. class db_settings {
  73. ^
  74. jni/su/su.h:26:2: note: did you mean class here?
  75. struct db_settings cfg;
  76. ^~~~~~
  77. class
  78. jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
  79. struct db_strings str;
  80. ^
  81. jni/include/db.h:87:7: note: previous use is here
  82. class db_strings {
  83. ^
  84. jni/su/su.h:27:2: note: did you mean class here?
  85. struct db_strings str;
  86. ^~~~~~
  87. class
  88. jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  89. struct su_info *info;
  90. ^
  91. jni/su/su.h:20:7: note: previous use is here
  92. class su_info {
  93. ^
  94. jni/su/su.h:63:2: note: did you mean class here?
  95. struct su_info *info;
  96. ^~~~~~
  97. class
  98. jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  99. void app_connect(const char *socket, struct su_info *info);
  100. ^
  101. jni/su/su.h:20:7: note: previous use is here
  102. class su_info {
  103. ^
  104. jni/su/su.h:72:38: note: did you mean class here?
  105. void app_connect(const char *socket, struct su_info *info);
  106. ^~~~~~
  107. class
  108. jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  109. void socket_send_request(int fd, struct su_info *info);
  110. ^
  111. jni/su/su.h:20:7: note: previous use is here
  112. class su_info {
  113. ^
  114. jni/su/su.h:73:34: note: did you mean class here?
  115. void socket_send_request(int fd, struct su_info *info);
  116. ^~~~~~
  117. class
  118. jni/su/connect.cpp:34:43: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  119. static void silent_run(const char **args, struct su_info *info) {
  120. ^
  121. jni/su/su.h:20:7: note: previous use is here
  122. class su_info {
  123. ^
  124. jni/su/connect.cpp:34:43: note: did you mean class here?
  125. static void silent_run(const char **args, struct su_info *info) {
  126. ^~~~~~
  127. class
  128. jni/su/connect.cpp:57:36: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  129. static void setup_user(char *user, struct su_info *info) {
  130. ^
  131. jni/su/su.h:20:7: note: previous use is here
  132. class su_info {
  133. ^
  134. jni/su/connect.cpp:57:36: note: did you mean class here?
  135. static void setup_user(char *user, struct su_info *info) {
  136. ^~~~~~
  137. class
  138. jni/su/connect.cpp:125:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  139. void app_connect(const char *socket, struct su_info *info) {
  140. ^
  141. jni/su/su.h:20:7: note: previous use is here
  142. class su_info {
  143. ^
  144. jni/su/connect.cpp:125:38: note: did you mean class here?
  145. void app_connect(const char *socket, struct su_info *info) {
  146. ^~~~~~
  147. class
  148. jni/su/connect.cpp:139:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  149. void socket_send_request(int fd, struct su_info *info) {
  150. ^
  151. jni/su/su.h:20:7: note: previous use is here
  152. class su_info {
  153. ^
  154. jni/su/connect.cpp:139:34: note: did you mean class here?
  155. void socket_send_request(int fd, struct su_info *info) {
  156. ^~~~~~
  157. class
  158. 5 warnings generated.
  159. 9 warnings generated.
  160. In file included from jni/su/su_daemon.cpp:19:
  161. jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
  162. struct db_settings cfg;
  163. ^
  164. jni/include/db.h:58:7: note: previous use is here
  165. class db_settings {
  166. ^
  167. jni/su/su.h:26:2: note: did you mean class here?
  168. struct db_settings cfg;
  169. ^~~~~~
  170. class
  171. jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
  172. struct db_strings str;
  173. ^
  174. jni/include/db.h:87:7: note: previous use is here
  175. class db_strings {
  176. ^
  177. jni/su/su.h:27:2: note: did you mean class here?
  178. struct db_strings str;
  179. ^~~~~~
  180. class
  181. jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  182. struct su_info *info;
  183. ^
  184. jni/su/su.h:20:7: note: previous use is here
  185. class su_info {
  186. ^
  187. jni/su/su.h:63:2: note: did you mean class here?
  188. struct su_info *info;
  189. ^~~~~~
  190. class
  191. jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  192. void app_connect(const char *socket, struct su_info *info);
  193. ^
  194. jni/su/su.h:20:7: note: previous use is here
  195. class su_info {
  196. ^
  197. jni/su/su.h:72:38: note: did you mean class here?
  198. void app_connect(const char *socket, struct su_info *info);
  199. ^~~~~~
  200. class
  201. jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  202. void socket_send_request(int fd, struct su_info *info);
  203. ^
  204. jni/su/su.h:20:7: note: previous use is here
  205. class su_info {
  206. ^
  207. jni/su/su.h:73:34: note: did you mean class here?
  208. void socket_send_request(int fd, struct su_info *info);
  209. ^~~~~~
  210. class
  211. jni/su/su_daemon.cpp:29:40: warning: field '_lock' will be initialized after field 'count' [-Wreorder]
  212. uid(uid), access(DEFAULT_SU_ACCESS), _lock(PTHREAD_MUTEX_INITIALIZER),
  213. ^
  214. jni/su/su_daemon.cpp:30:21: warning: field 'timestamp' will be initialized after field 'mgr_st' [-Wreorder]
  215. count(0), ref(0), timestamp(0), mgr_st({}) {}
  216. ^
  217. jni/su/su_daemon.cpp:93:8: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  218. static struct su_info *get_su_info(unsigned uid) {
  219. ^
  220. jni/su/su.h:20:7: note: previous use is here
  221. class su_info {
  222. ^
  223. jni/su/su_daemon.cpp:93:8: note: did you mean class here?
  224. static struct su_info *get_su_info(unsigned uid) {
  225. ^~~~~~
  226. class
  227. jni/systemproperties/prop_area.cpp:323:15: warning: unused variable 'remaining_name' [-Wunused-variable]
  228. const char* remaining_name = name;
  229. ^
  230. 8 warnings generated.
  231. 1 warning generated.
  232. jni/core/bootstages.cpp:195:2: warning: struct 'node_entry' was previously declared as a class [-Wmismatched-tags]
  233. struct node_entry *dummy;
  234. ^
  235. jni/core/bootstages.cpp:59:7: note: previous use is here
  236. class node_entry {
  237. ^
  238. 1 warning generated.
  239. jni/su/pts.cpp:86:7: warning: unused variable 'sn_tmp' [-Wunused-variable]
  240. char sn_tmp[256];
  241. ^
  242. 1 warning generated.
  243. In file included from jni/su/su.cpp:29:
  244. jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
  245. struct db_settings cfg;
  246. ^
  247. jni/include/db.h:58:7: note: previous use is here
  248. class db_settings {
  249. ^
  250. jni/su/su.h:26:2: note: did you mean class here?
  251. struct db_settings cfg;
  252. ^~~~~~
  253. class
  254. jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
  255. struct db_strings str;
  256. ^
  257. jni/include/db.h:87:7: note: previous use is here
  258. class db_strings {
  259. ^
  260. jni/su/su.h:27:2: note: did you mean class here?
  261. struct db_strings str;
  262. ^~~~~~
  263. class
  264. jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  265. struct su_info *info;
  266. ^
  267. jni/su/su.h:20:7: note: previous use is here
  268. class su_info {
  269. ^
  270. jni/su/su.h:63:2: note: did you mean class here?
  271. struct su_info *info;
  272. ^~~~~~
  273. class
  274. jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  275. void app_connect(const char *socket, struct su_info *info);
  276. ^
  277. jni/su/su.h:20:7: note: previous use is here
  278. class su_info {
  279. ^
  280. jni/su/su.h:72:38: note: did you mean class here?
  281. void app_connect(const char *socket, struct su_info *info);
  282. ^~~~~~
  283. class
  284. jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  285. void socket_send_request(int fd, struct su_info *info);
  286. ^
  287. jni/su/su.h:20:7: note: previous use is here
  288. class su_info {
  289. ^
  290. jni/su/su.h:73:34: note: did you mean class here?
  291. void socket_send_request(int fd, struct su_info *info);
  292. ^~~~~~
  293. class
  294. 5 warnings generated.
  295. In file included from jni/su/connect.cpp:19:
  296. jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
  297. struct db_settings cfg;
  298. ^
  299. jni/include/db.h:58:7: note: previous use is here
  300. class db_settings {
  301. ^
  302. jni/su/su.h:26:2: note: did you mean class here?
  303. struct db_settings cfg;
  304. ^~~~~~
  305. class
  306. jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
  307. struct db_strings str;
  308. ^
  309. jni/include/db.h:87:7: note: previous use is here
  310. class db_strings {
  311. ^
  312. jni/su/su.h:27:2: note: did you mean class here?
  313. struct db_strings str;
  314. ^~~~~~
  315. class
  316. jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  317. struct su_info *info;
  318. ^
  319. jni/su/su.h:20:7: note: previous use is here
  320. class su_info {
  321. ^
  322. jni/su/su.h:63:2: note: did you mean class here?
  323. struct su_info *info;
  324. ^~~~~~
  325. class
  326. jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  327. void app_connect(const char *socket, struct su_info *info);
  328. ^
  329. jni/su/su.h:20:7: note: previous use is here
  330. class su_info {
  331. ^
  332. jni/su/su.h:72:38: note: did you mean class here?
  333. void app_connect(const char *socket, struct su_info *info);
  334. ^~~~~~
  335. class
  336. jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  337. void socket_send_request(int fd, struct su_info *info);
  338. ^
  339. jni/su/su.h:20:7: note: previous use is here
  340. class su_info {
  341. ^
  342. jni/su/su.h:73:34: note: did you mean class here?
  343. void socket_send_request(int fd, struct su_info *info);
  344. ^~~~~~
  345. class
  346. jni/su/connect.cpp:34:43: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  347. static void silent_run(const char **args, struct su_info *info) {
  348. ^
  349. jni/su/su.h:20:7: note: previous use is here
  350. class su_info {
  351. ^
  352. jni/su/connect.cpp:34:43: note: did you mean class here?
  353. static void silent_run(const char **args, struct su_info *info) {
  354. ^~~~~~
  355. class
  356. jni/su/connect.cpp:57:36: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  357. static void setup_user(char *user, struct su_info *info) {
  358. ^
  359. jni/su/su.h:20:7: note: previous use is here
  360. class su_info {
  361. ^
  362. jni/su/connect.cpp:57:36: note: did you mean class here?
  363. static void setup_user(char *user, struct su_info *info) {
  364. ^~~~~~
  365. class
  366. jni/su/connect.cpp:125:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  367. void app_connect(const char *socket, struct su_info *info) {
  368. ^
  369. jni/su/su.h:20:7: note: previous use is here
  370. class su_info {
  371. ^
  372. jni/su/connect.cpp:125:38: note: did you mean class here?
  373. void app_connect(const char *socket, struct su_info *info) {
  374. ^~~~~~
  375. class
  376. jni/su/connect.cpp:139:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  377. void socket_send_request(int fd, struct su_info *info) {
  378. ^
  379. jni/su/su.h:20:7: note: previous use is here
  380. class su_info {
  381. ^
  382. jni/su/connect.cpp:139:34: note: did you mean class here?
  383. void socket_send_request(int fd, struct su_info *info) {
  384. ^~~~~~
  385. class
  386. 9 warnings generated.
  387. In file included from jni/su/su_daemon.cpp:19:
  388. jni/su/su.h:26:2: warning: struct 'db_settings' was previously declared as a class [-Wmismatched-tags]
  389. struct db_settings cfg;
  390. ^
  391. jni/include/db.h:58:7: note: previous use is here
  392. class db_settings {
  393. ^
  394. jni/su/su.h:26:2: note: did you mean class here?
  395. struct db_settings cfg;
  396. ^~~~~~
  397. class
  398. jni/su/su.h:27:2: warning: struct 'db_strings' was previously declared as a class [-Wmismatched-tags]
  399. struct db_strings str;
  400. ^
  401. jni/include/db.h:87:7: note: previous use is here
  402. class db_strings {
  403. ^
  404. jni/su/su.h:27:2: note: did you mean class here?
  405. struct db_strings str;
  406. ^~~~~~
  407. class
  408. jni/su/su.h:63:2: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  409. struct su_info *info;
  410. ^
  411. jni/su/su.h:20:7: note: previous use is here
  412. class su_info {
  413. ^
  414. jni/su/su.h:63:2: note: did you mean class here?
  415. struct su_info *info;
  416. ^~~~~~
  417. class
  418. jni/su/su.h:72:38: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  419. void app_connect(const char *socket, struct su_info *info);
  420. ^
  421. jni/su/su.h:20:7: note: previous use is here
  422. class su_info {
  423. ^
  424. jni/su/su.h:72:38: note: did you mean class here?
  425. void app_connect(const char *socket, struct su_info *info);
  426. ^~~~~~
  427. class
  428. jni/su/su.h:73:34: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  429. void socket_send_request(int fd, struct su_info *info);
  430. ^
  431. jni/su/su.h:20:7: note: previous use is here
  432. class su_info {
  433. ^
  434. jni/su/su.h:73:34: note: did you mean class here?
  435. void socket_send_request(int fd, struct su_info *info);
  436. ^~~~~~
  437. class
  438. jni/su/su_daemon.cpp:29:40: warning: field '_lock' will be initialized after field 'count' [-Wreorder]
  439. uid(uid), access(DEFAULT_SU_ACCESS), _lock(PTHREAD_MUTEX_INITIALIZER),
  440. ^
  441. jni/su/su_daemon.cpp:30:21: warning: field 'timestamp' will be initialized after field 'mgr_st' [-Wreorder]
  442. count(0), ref(0), timestamp(0), mgr_st({}) {}
  443. ^
  444. jni/su/su_daemon.cpp:93:8: warning: struct 'su_info' was previously declared as a class [-Wmismatched-tags]
  445. static struct su_info *get_su_info(unsigned uid) {
  446. ^
  447. jni/su/su.h:20:7: note: previous use is here
  448. class su_info {
  449. ^
  450. jni/su/su_daemon.cpp:93:8: note: did you mean class here?
  451. static struct su_info *get_su_info(unsigned uid) {
  452. ^~~~~~
  453. class
  454. 8 warnings generated.
  455. jni/systemproperties/prop_area.cpp:323:15: warning: unused variable 'remaining_name' [-Wunused-variable]
  456. const char* remaining_name = name;
  457. ^
  458. 1 warning generated.
  459. jni/magiskboot/cpio.cpp:67:6: warning: unused variable 'i' [-Wunused-variable]
  460. int i = 0;
  461. ^
  462. 1 warning generated.
  463. jni/magiskboot/ramdisk.cpp:159:14: warning: variable 'res' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  464. } else if (j == arr.size()) {
  465. ^~~~~~~~~~~~~~~
  466. jni/magiskboot/ramdisk.cpp:164:7: note: uninitialized use occurs here
  467. if (res < 0) {
  468. ^~~
  469. jni/magiskboot/ramdisk.cpp:159:10: note: remove the 'if' if its condition is always true
  470. } else if (j == arr.size()) {
  471. ^~~~~~~~~~~~~~~~~~~~~
  472. jni/magiskboot/ramdisk.cpp:150:10: note: initialize the variable 'res' to silence this warning
  473. int res;
  474. ^
  475. = 0
  476. 1 warning generated.
  477. jni/magiskpolicy/sepolicy.c:31:12: warning: unused function 'get_attr' [-Wunused-function]
  478. static int get_attr(const char *type, int value) {
  479. ^
  480. 1 warning generated.
  481. jni/magiskboot/cpio.cpp:67:6: warning: unused variable 'i' [-Wunused-variable]
  482. int i = 0;
  483. ^
  484. 1 warning generated.
  485. jni/magiskboot/ramdisk.cpp:159:14: warning: variable 'res' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  486. } else if (j == arr.size()) {
  487. ^~~~~~~~~~~~~~~
  488. jni/magiskboot/ramdisk.cpp:164:7: note: uninitialized use occurs here
  489. if (res < 0) {
  490. ^~~
  491. jni/magiskboot/ramdisk.cpp:159:10: note: remove the 'if' if its condition is always true
  492. } else if (j == arr.size()) {
  493. ^~~~~~~~~~~~~~~~~~~~~
  494. jni/magiskboot/ramdisk.cpp:150:10: note: initialize the variable 'res' to silence this warning
  495. int res;
  496. ^
  497. = 0
  498. 1 warning generated.
  499. jni/magiskpolicy/sepolicy.c:31:12: warning: unused function 'get_attr' [-Wunused-function]
  500. static int get_attr(const char *type, int value) {
  501. ^
  502. 1 warning generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement