Guest User

Untitled

a guest
Dec 11th, 2025
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.98 KB | None | 0 0
  1. swim@lappy:~/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak$ make
  2. make[1]: Entering directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak'
  3. Entering directory src
  4. make[2]: Entering directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  5. make[3]: Entering directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  6. make[3]: Leaving directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  7. make[3]: Entering directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  8. Generating dependencies...
  9. make[4]: Entering directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  10. make[4]: Leaving directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  11. Successfully generated dependencies.
  12. make[3]: Leaving directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  13. make[3]: Entering directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  14. Compiling alky.c...
  15. alky.c: In function ‘_use_infusion’:
  16. alky.c:401:45: warning: ‘%s’ directive writing up to 254 bytes into a region of size 244 [-Wformat-overflow=]
  17. 401 | sprintf(prompt, "Really use %s? <color:y>[y/n]</color>", o_name);
  18. | ^~ ~~~~~~
  19. alky.c:401:17: note: ‘sprintf’ output between 36 and 290 bytes into a destination of size 255
  20. 401 | sprintf(prompt, "Really use %s? <color:y>[y/n]</color>", o_name);
  21. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. alky.c:405:61: warning: ‘%s’ directive writing up to 254 bytes into a region of size 236 [-Wformat-overflow=]
  23. 405 | sprintf(prompt, "Really, REALLY use %s? <color:y>[y/n]</color>", o_name);
  24. | ^~ ~~~~~~
  25. alky.c:405:25: note: ‘sprintf’ output between 44 and 298 bytes into a destination of size 255
  26. 405 | sprintf(prompt, "Really, REALLY use %s? <color:y>[y/n]</color>", o_name);
  27. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28. alky.c: In function ‘create_infusion’:
  29. alky.c:499:49: warning: ‘%s’ directive writing up to 254 bytes into a region of size 240 [-Wformat-overflow=]
  30. 499 | sprintf(prompt, "Really replace %s? <color:y>[y/n]</color>", o_name);
  31. | ^~ ~~~~~~
  32. alky.c:499:17: note: ‘sprintf’ output between 40 and 294 bytes into a destination of size 255
  33. 499 | sprintf(prompt, "Really replace %s? <color:y>[y/n]</color>", o_name);
  34. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  35. alky.c: In function ‘alchemist_break_down_aux’:
  36. alky.c:770:52: warning: ‘%s’ directive writing up to 254 bytes into a region of size 237 [-Wformat-overflow=]
  37. 770 | sprintf(prompt, "Really break down %s? %s chemicals will be lost due to lack of room. <color:y>[y/n]</color>", o_name, _CHEM[tier] == _MAX_CHEM ? "All" : "Some of the");
  38. | ^~ ~~~~~~
  39. alky.c:770:17: note: ‘sprintf’ output 91 or more bytes (assuming 345) into a destination of size 255
  40. 770 | sprintf(prompt, "Really break down %s? %s chemicals will be lost due to lack of room. <color:y>[y/n]</color>", o_name, _CHEM[tier] == _MAX_CHEM ? "All" : "Some of the");
  41. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. Successfully compiled alky.c
  43. Compiling archer.c...
  44. Successfully compiled archer.c
  45. Compiling arky.c...
  46. Successfully compiled arky.c
  47. Compiling artifact.c...
  48. artifact.c: In function ‘reforge_artifact’:
  49. artifact.c:3538:17: warning: format not a string literal and no format arguments [-Wformat-security]
  50. 3538 | sprintf(buf, oldname + strpos(" '", oldname));
  51. | ^~~~~~~
  52. artifact.c:3542:30: warning: format not a string literal and no format arguments [-Wformat-security]
  53. 3542 | sprintf(buf, minibuf);
  54. | ^~~~~~~
  55. artifact.c: In function ‘double_check_immunity’:
  56. artifact.c:694:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  57. 694 | if (!have_flag(o_ptr->flags, OF_SPEED))
  58. | ^
  59. artifact.c:701:13: note: here
  60. 701 | case 3: case 4: case 5: case 6:
  61. | ^~~~
  62. artifact.c:707:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  63. 707 | if (!have_flag(o_ptr->flags, OF_BLOWS))
  64. | ^
  65. artifact.c:714:13: note: here
  66. 714 | case 9: case 10:
  67. | ^~~~
  68. artifact.c:732:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  69. 732 | if (!have_flag(o_ptr->flags, OF_SPEED))
  70. | ^
  71. artifact.c:739:13: note: here
  72. 739 | case 3: case 4: case 5: case 6:
  73. | ^~~~
  74. artifact.c:770:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  75. 770 | if (!have_flag(o_ptr->flags, OF_SPEED))
  76. | ^
  77. artifact.c:776:13: note: here
  78. 776 | case 2:
  79. | ^~~~
  80. artifact.c: In function ‘random_slay_aux’:
  81. artifact.c:1422:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  82. 1422 | if (one_in_(5)) /* low level slay evil is rare ... */
  83. | ^
  84. artifact.c:1427:9: note: here
  85. 1427 | case 6:
  86. | ^~~~
  87. artifact.c: In function ‘random_slay’:
  88. artifact.c:1603:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  89. 1603 | if (!one_in_(6))
  90. | ^
  91. artifact.c:1608:13: note: here
  92. 1608 | case 2:
  93. | ^~~~
  94. artifact.c: In function ‘create_artifact’:
  95. artifact.c:2688:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  96. 2688 | else if (one_in_(5))
  97. | ^
  98. artifact.c:2693:13: note: here
  99. 2693 | case 5:
  100. | ^~~~
  101. artifact.c:2770:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  102. 2770 | else if (one_in_(5))
  103. | ^
  104. artifact.c:2775:13: note: here
  105. 2775 | case 5: case 6:
  106. | ^~~~
  107. artifact.c:2852:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  108. 2852 | || one_in_(3) )
  109. artifact.c:2857:17: note: here
  110. 2857 | case 5: case 6: case 7:
  111. | ^~~~
  112. Successfully compiled artifact.c
  113. Compiling autopick.c...
  114. autopick.c: In function ‘get_string_for_search’:
  115. autopick.c:4081:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  116. 4081 | pos = i;
  117. | ~~~~^~~
  118. autopick.c:4086:9: note: here
  119. 4086 | case 0x7F:
  120. | ^~~~
  121. autopick.c: In function ‘autopick_entry_from_object’:
  122. autopick.c:848:31: warning: ‘$’ directive writing 1 byte into a region of size between 0 and 254 [-Wformat-overflow=]
  123. 848 | sprintf(name_str, "^%s$", o_name);
  124. | ^
  125. autopick.c:848:9: note: ‘sprintf’ output between 3 and 257 bytes into a destination of size 255
  126. 848 | sprintf(name_str, "^%s$", o_name);
  127. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  128. autopick.c: In function ‘describe_autopick’:
  129. autopick.c:3026:16: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
  130. 3026 | "%d", entry->dice);
  131. | ^
  132. autopick.c:3025:9: note: ‘sprintf’ output between 2 and 4 bytes into a destination of size 3
  133. 3025 | sprintf(more_than_desc_str + sizeof(more_than_desc_str) - 3,
  134. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  135. 3026 | "%d", entry->dice);
  136. | ~~~~~~~~~~~~~~~~~~
  137. autopick.c:3037:17: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
  138. 3037 | "%d)", entry->bonus);
  139. | ^
  140. autopick.c:3036:9: note: ‘sprintf’ output between 3 and 5 bytes into a destination of size 4
  141. 3036 | sprintf(more_bonus_desc_str + sizeof(more_bonus_desc_str) - 4,
  142. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  143. 3037 | "%d)", entry->bonus);
  144. | ~~~~~~~~~~~~~~~~~~~~
  145. Successfully compiled autopick.c
  146. Compiling virtue.c...
  147. Successfully compiled virtue.c
  148. Compiling bard.c...
  149. Successfully compiled bard.c
  150. Compiling beastmaster.c...
  151. Successfully compiled beastmaster.c
  152. Compiling beorning.c...
  153. Successfully compiled beorning.c
  154. Compiling berserker.c...
  155. Successfully compiled berserker.c
  156. Compiling birth.c...
  157. Successfully compiled birth.c
  158. Compiling bldg.c...
  159. bldg.c: In function ‘_enchant_menu_fn’:
  160. bldg.c:3260:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  161. 3260 | if (ptr->cost > p_ptr->au)
  162. | ^
  163. bldg.c:3265:5: note: here
  164. 3265 | default:
  165. | ^~~~~~~
  166. bldg.c: In function ‘show_building’:
  167. bldg.c:131:31: warning: ‘%35s’ directive writing 35 bytes into a region of size between 33 and 76 [-Wformat-overflow=]
  168. 131 | sprintf(tmp_str, "%s (%s) %35s", bldg->owner_name, bldg->owner_race, bldg->name);
  169. | ^~~~
  170. bldg.c:131:5: note: ‘sprintf’ output between 40 and 83 bytes into a destination of size 80
  171. 131 | sprintf(tmp_str, "%s (%s) %35s", bldg->owner_name, bldg->owner_race, bldg->name);
  172. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  173. Successfully compiled bldg.c
  174. Compiling blood_knight.c...
  175. Successfully compiled blood_knight.c
  176. Compiling blood_mage.c...
  177. Successfully compiled blood_mage.c
  178. Compiling bluemage.c...
  179. Successfully compiled bluemage.c
  180. Compiling cavalry.c...
  181. Successfully compiled cavalry.c
  182. Compiling cave.c...
  183. cave.c: In function ‘hit_mon_trap’:
  184. cave.c:4880:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  185. 4880 | if (!quests_get_current() && !p_ptr->inside_arena && dungeon_type && (dun_level < d_info[dungeon_type].maxdepth))
  186. | ^
  187. cave.c:4896:17: note: here
  188. 4896 | case 6: case 7: case 8: case 9: /* Arrow Trap */
  189. | ^~~~
  190. cave.c: In function ‘display_shortened_item_name’:
  191. cave.c:1870:29: warning: ‘%s’ directive writing up to 254 bytes into a region of size between 247 and 251 [-Wformat-overflow=]
  192. 1870 | sprintf(buf, "%dd%d %s", o_ptr->dd, o_ptr->ds, tmp);
  193. | ^~ ~~~
  194. cave.c:1870:9: note: ‘sprintf’ output between 5 and 263 bytes into a destination of size 255
  195. 1870 | sprintf(buf, "%dd%d %s", o_ptr->dd, o_ptr->ds, tmp);
  196. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  197. cave.c:1876:33: warning: ‘%s’ directive writing up to 254 bytes into a region of size between 245 and 249 [-Wformat-overflow=]
  198. 1876 | sprintf(buf, "x%d.%2.2d %s", o_ptr->mult / 100, o_ptr->mult % 100, tmp);
  199. | ^~ ~~~
  200. cave.c:1876:9: note: ‘sprintf’ output between 7 and 265 bytes into a destination of size 255
  201. 1876 | sprintf(buf, "x%d.%2.2d %s", o_ptr->mult / 100, o_ptr->mult % 100, tmp);
  202. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  203. Successfully compiled cave.c
  204. Compiling chaoswar.c...
  205. Successfully compiled chaoswar.c
  206. Compiling classes.c...
  207. classes.c: In function ‘get_class_idx’:
  208. classes.c:41:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  209. 41 | if (p_ptr->current_r_idx)
  210. | ^
  211. classes.c:47:9: note: here
  212. 47 | default:
  213. | ^~~~~~~
  214. Successfully compiled classes.c
  215. Compiling cmd1.c...
  216. cmd1.c: In function ‘py_attack_aux’:
  217. cmd1.c:2086:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  218. 2086 | if ((personality_is_(PERS_SNEAKY)) && (MON_CSLEEP(m_ptr)) && (m_ptr->ml))
  219. | ^~
  220. cmd1.c:2089:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  221. 2089 | switch (p_ptr->pclass)
  222. | ^~~~~~
  223. cmd1.c:2103:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  224. 2103 | if (!p_ptr->sneak_attack)
  225. | ^
  226. cmd1.c:2106:5: note: here
  227. 2106 | case CLASS_ROGUE:
  228. | ^~~~
  229. cmd1.c: In function ‘py_attack’:
  230. cmd1.c:4111:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  231. 4111 | if (p_ptr->weapon_ct == 0) /* Kenshirou Possessor can retaliate with innate attacks! */
  232. | ^
  233. cmd1.c:4113:9: note: here
  234. 4113 | case WEAPONMASTER_PROXIMITY_ALERT:
  235. | ^~~~
  236. Successfully compiled cmd1.c
  237. Compiling cmd2.c...
  238. Successfully compiled cmd2.c
  239. Compiling cmd3.c...
  240. Successfully compiled cmd3.c
  241. Compiling cmd4.c...
  242. Successfully compiled cmd4.c
  243. Compiling cmd5.c...
  244. cmd5.c: In function ‘wild_magic’:
  245. cmd5.c:636:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  246. 636 | wall_breaker();
  247. | ^~~~~~~~~~~~~~
  248. cmd5.c:637:5: note: here
  249. 637 | case 18:
  250. | ^~~~
  251. Successfully compiled cmd5.c
  252. Compiling cmd6.c...
  253. Successfully compiled cmd6.c
  254. Compiling combat.c...
  255. Successfully compiled combat.c
  256. Compiling corny.c...
  257. corny.c: In function ‘_policy_blurb’:
  258. corny.c:1209:25: warning: format not a string literal and no format arguments [-Wformat-security]
  259. 1209 | sprintf(tmp_val, format("(Claimable: %d) ", _allowable()));
  260. | ^~~~~~~
  261. Successfully compiled corny.c
  262. Compiling demigod.c...
  263. Successfully compiled demigod.c
  264. Compiling devicemaster.c...
  265. Successfully compiled devicemaster.c
  266. Compiling devices.c...
  267. devices.c: In function ‘effect_parse’:
  268. devices.c:2441:27: warning: this statement may fall through [-Wimplicit-fallthrough=]
  269. 2441 | case 4: effect->extra = atoi(tokens[3]);
  270. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
  271. devices.c:2442:5: note: here
  272. 2442 | case 3: effect->cost = atoi(tokens[2]);
  273. | ^~~~
  274. devices.c:2442:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  275. 2442 | case 3: effect->cost = atoi(tokens[2]);
  276. | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
  277. devices.c:2443:5: note: here
  278. 2443 | case 2: effect->power = atoi(tokens[1]);
  279. | ^~~~
  280. devices.c:2444:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
  281. 2444 | effect->difficulty = effect->power;
  282. | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
  283. devices.c:2445:5: note: here
  284. 2445 | case 1:
  285. | ^~~~
  286. Successfully compiled devices.c
  287. Compiling disciple.c...
  288. Successfully compiled disciple.c
  289. Compiling do-spell.c...
  290. do-spell.c: In function ‘wild_magic’:
  291. do-spell.c:536:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  292. 536 | wall_breaker();
  293. | ^~~~~~~~~~~~~~
  294. do-spell.c:537:5: note: here
  295. 537 | case 18:
  296. | ^~~~
  297. Successfully compiled do-spell.c
  298. Compiling doppelganger.c...
  299. Successfully compiled doppelganger.c
  300. Compiling duelist.c...
  301. Successfully compiled duelist.c
  302. Compiling dungeon.c...
  303. Successfully compiled dungeon.c
  304. Compiling ego.c...
  305. ego.c: In function ‘_create_ring_aux’:
  306. ego.c:964:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  307. 964 | if (!have_flag(o_ptr->flags, OF_FREE_ACT))
  308. | ^
  309. ego.c:969:13: note: here
  310. 969 | case 3:
  311. | ^~~~
  312. ego.c:970:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  313. 970 | if (!have_flag(o_ptr->flags, OF_SEE_INVIS))
  314. | ^
  315. ego.c:975:13: note: here
  316. 975 | case 4:
  317. | ^~~~
  318. ego.c:976:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  319. 976 | if (one_in_(2))
  320. | ^
  321. ego.c:983:13: note: here
  322. 983 | case 5:
  323. | ^~~~
  324. ego.c:984:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  325. 984 | if (one_in_(2))
  326. | ^
  327. ego.c:993:13: note: here
  328. 993 | default:
  329. | ^~~~~~~
  330. ego.c: In function ‘_create_amulet_aux’:
  331. ego.c:1170:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  332. 1170 | else if (one_in_(3))
  333. | ^
  334. ego.c:1175:13: note: here
  335. 1175 | case 6:
  336. | ^~~~
  337. ego.c:1238:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  338. 1238 | if (abs(power) >= 2 && one_in_(2) && level >= 30)
  339. | ^
  340. ego.c:1244:13: note: here
  341. 1244 | default:
  342. | ^~~~~~~
  343. ego.c:1278:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  344. 1278 | if (abs(power) >= 2 && one_in_(2) && level >= 50)
  345. | ^
  346. ego.c:1283:13: note: here
  347. 1283 | case 6:
  348. | ^~~~
  349. ego.c:1284:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  350. 1284 | if (abs(power) >= 2 && one_in_(2) && level >= 50)
  351. | ^
  352. ego.c:1290:13: note: here
  353. 1290 | default:
  354. | ^~~~~~~
  355. ego.c:1524:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  356. 1524 | else if (one_in_(3))
  357. | ^
  358. ego.c:1534:13: note: here
  359. 1534 | default:
  360. | ^~~~~~~
  361. Successfully compiled ego.c
  362. Compiling effects.c...
  363. effects.c: In function ‘do_poly_self’:
  364. effects.c:6249:34: warning: ‘%s’ directive writing up to 79 bytes into a region of size 10 [-Wformat-overflow=]
  365. 6249 | sprintf(tmp_msg,"%s",effect_msg);
  366. | ^~ ~~~~~~~~~~
  367. effects.c:6249:17: note: ‘sprintf’ output between 1 and 80 bytes into a destination of size 10
  368. 6249 | sprintf(tmp_msg,"%s",effect_msg);
  369. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  370. Successfully compiled effects.c
  371. Compiling equip.c...
  372. Successfully compiled equip.c
  373. Compiling fear.c...
  374. Successfully compiled fear.c
  375. Compiling files.c...
  376. files.c: In function ‘process_pref_file_expr’:
  377. files.c:946:21: warning: format not a string literal and no format arguments [-Wformat-security]
  378. 946 | sprintf(tmp, v);
  379. | ^~~~~~~
  380. files.c: In function ‘file_character’:
  381. files.c:1820:55: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 138 [-Wformat-overflow=]
  382. 1820 | (void)sprintf(out_val, "Replace existing file %s? ", buf);
  383. | ^~ ~~~
  384. files.c:1820:15: note: ‘sprintf’ output between 25 and 1048 bytes into a destination of size 160
  385. 1820 | (void)sprintf(out_val, "Replace existing file %s? ", buf);
  386. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  387. files.c: In function ‘show_file’:
  388. files.c:2139:38: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 117 [-Wformat-overflow=]
  389. 2139 | sprintf(caption, "Help file '%s'", name);
  390. | ^~
  391. files.c:2139:9: note: ‘sprintf’ output between 13 and 1036 bytes into a destination of size 128
  392. 2139 | sprintf(caption, "Help file '%s'", name);
  393. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  394. files.c:2153:38: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 117 [-Wformat-overflow=]
  395. 2153 | sprintf(caption, "Info file '%s'", name);
  396. | ^~
  397. files.c:2153:9: note: ‘sprintf’ output between 13 and 1036 bytes into a destination of size 128
  398. 2153 | sprintf(caption, "Info file '%s'", name);
  399. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  400. files.c:2174:38: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 117 [-Wformat-overflow=]
  401. 2174 | sprintf(caption, "Info file '%s'", name);
  402. | ^~
  403. files.c:2174:9: note: ‘sprintf’ output between 13 and 1036 bytes into a destination of size 128
  404. 2174 | sprintf(caption, "Info file '%s'", name);
  405. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  406. files.c:2565:32: warning: ‘%s’ directive writing up to 127 bytes into a region of size between 49 and 80 [-Wformat-overflow=]
  407. 2565 | sprintf(xtmp, "%s: %s", player_name, what ? what : caption);
  408. | ^~
  409. files.c:2565:13: note: ‘sprintf’ output between 3 and 161 bytes into a destination of size 82
  410. 2565 | sprintf(xtmp, "%s: %s", player_name, what ? what : caption);
  411. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  412. Successfully compiled files.c
  413. Compiling flavor.c...
  414. flavor.c: In function ‘object_desc’:
  415. flavor.c:1933:30: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
  416. 1933 | sprintf(tmp, "x%d", power / 100);
  417. | ^
  418. flavor.c:1933:13: note: ‘sprintf’ output between 3 and 11 bytes into a destination of size 10
  419. 1933 | sprintf(tmp, "x%d", power / 100);
  420. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  421. flavor.c:1931:30: warning: ‘.’ directive writing 1 byte into a region of size between 0 and 8 [-Wformat-overflow=]
  422. 1931 | sprintf(tmp, "x%d.%2.2d", power / 100, power % 100);
  423. | ^
  424. flavor.c:1931:26: note: directive argument in the range [-99, 99]
  425. 1931 | sprintf(tmp, "x%d.%2.2d", power / 100, power % 100);
  426. | ^~~~~~~~~~~
  427. flavor.c:1931:13: note: ‘sprintf’ output between 6 and 15 bytes into a destination of size 10
  428. 1931 | sprintf(tmp, "x%d.%2.2d", power / 100, power % 100);
  429. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  430. Successfully compiled flavor.c
  431. Compiling floors.c...
  432. floors.c: In function ‘init_saved_floors’:
  433. floors.c:45:36: warning: ‘.F’ directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  434. 45 | sprintf(floor_savefile, "%s.F%02d", savefile, i);
  435. | ^~
  436. floors.c:45:33: note: directive argument in the range [0, 19]
  437. 45 | sprintf(floor_savefile, "%s.F%02d", savefile, i);
  438. | ^~~~~~~~~~
  439. floors.c:45:9: note: ‘sprintf’ output between 5 and 1028 bytes into a destination of size 1024
  440. 45 | sprintf(floor_savefile, "%s.F%02d", savefile, i);
  441. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442. floors.c: In function ‘clear_saved_floor_files’:
  443. floors.c:136:36: warning: ‘.F’ directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  444. 136 | sprintf(floor_savefile, "%s.F%02d", savefile, i);
  445. | ^~
  446. floors.c:136:33: note: directive argument in the range [0, 19]
  447. 136 | sprintf(floor_savefile, "%s.F%02d", savefile, i);
  448. | ^~~~~~~~~~
  449. floors.c:136:9: note: ‘sprintf’ output between 5 and 1028 bytes into a destination of size 1024
  450. 136 | sprintf(floor_savefile, "%s.F%02d", savefile, i);
  451. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  452. floors.c: In function ‘kill_saved_floor’:
  453. floors.c:202:36: warning: ‘.F’ directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  454. 202 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  455. | ^~
  456. floors.c:202:33: note: directive argument in the range [0, 255]
  457. 202 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  458. | ^~~~~~~~~~
  459. floors.c:202:9: note: ‘sprintf’ output between 5 and 1029 bytes into a destination of size 1024
  460. 202 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  461. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  462. Successfully compiled floors.c
  463. Compiling force_trainer.c...
  464. Successfully compiled force_trainer.c
  465. Compiling generate.c...
  466. Successfully compiled generate.c
  467. Compiling gf.c...
  468. gf.c: In function ‘gf_affect_p’:
  469. gf.c:1306:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  470. 1306 | if (p_ptr->prace != RACE_SNOTLING)
  471. | ^
  472. gf.c:1311:13: note: here
  473. 1311 | case 2:
  474. | ^~~~
  475. gf.c:1312:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  476. 1312 | if (p_ptr->prace != RACE_YEEK)
  477. | ^
  478. gf.c:1317:13: note: here
  479. 1317 | case 3:
  480. | ^~~~
  481. gf.c: In function ‘gf_affect_m’:
  482. gf.c:4731:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  483. 4731 | if (!count)
  484. | ^
  485. gf.c:4738:17: note: here
  486. 4738 | case 3: case 4: case 5: case 6: case 7: case 8:
  487. | ^~~~
  488. gf.c:4739:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  489. 4739 | if (!count)
  490. | ^
  491. gf.c:4747:17: note: here
  492. 4747 | case 9: case 10: case 11:
  493. | ^~~~
  494. gf.c:4748:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  495. 4748 | if (!count)
  496. | ^
  497. gf.c:4756:17: note: here
  498. 4756 | case 12: case 13: case 14: case 15: case 16:
  499. | ^~~~
  500. gf.c:4760:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  501. 4760 | if (!one_in_(6)) break;
  502. | ^
  503. gf.c:4761:17: note: here
  504. 4761 | case 17: case 18: case 19:
  505. | ^~~~
  506. gf.c:4763:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  507. 4763 | if (!one_in_(6)) break;
  508. | ^
  509. gf.c:4764:17: note: here
  510. 4764 | case 20: case 21:
  511. | ^~~~
  512. gf.c:4766:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  513. 4766 | if (!one_in_(6)) break;
  514. | ^
  515. gf.c:4767:17: note: here
  516. 4767 | case 22: case 23: case 24: case 25: case 26:
  517. | ^~~~
  518. gf.c:4768:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  519. 4768 | {
  520. | ^
  521. gf.c:4778:17: note: here
  522. 4778 | default:
  523. | ^~~~~~~
  524. Successfully compiled gf.c
  525. Compiling graymage.c...
  526. Successfully compiled graymage.c
  527. Compiling grid.c...
  528. Successfully compiled grid.c
  529. Compiling hex.c...
  530. Successfully compiled hex.c
  531. Compiling highmage.c...
  532. Successfully compiled highmage.c
  533. Compiling hissatsu.c...
  534. Successfully compiled hissatsu.c
  535. Compiling home.c...
  536. Successfully compiled home.c
  537. Compiling igor.c...
  538. Successfully compiled igor.c
  539. Compiling init1.c...
  540. init1.c: In function ‘process_dungeon_file_expr’:
  541. init1.c:5116:21: warning: format not a string literal and no format arguments [-Wformat-security]
  542. 5116 | sprintf(tmp, v);
  543. | ^~~~~~~
  544. init1.c: In function ‘_parse_room_grid_object’:
  545. init1.c:1594:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  546. 1594 | {
  547. | ^
  548. init1.c:1665:5: note: here
  549. 1665 | case 1:
  550. | ^~~~
  551. init1.c: In function ‘_parse_room_grid_trap’:
  552. init1.c:1828:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  553. 1828 | if (sscanf(args[1], "%d%%", &n) == 1)
  554. | ^
  555. init1.c:1831:5: note: here
  556. 1831 | case 1:
  557. | ^~~~
  558. init1.c: In function ‘parse_r_info’:
  559. init1.c:4201:49: warning: this statement may fall through [-Wimplicit-fallthrough=]
  560. 4201 | case 4: r_ptr->body.blows_calc.mult = atoi(zz[3]);
  561. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  562. init1.c:4202:13: note: here
  563. 4202 | case 3: r_ptr->body.blows_calc.wgt = atoi(zz[2]);
  564. | ^~~~
  565. init1.c:4202:48: warning: this statement may fall through [-Wimplicit-fallthrough=]
  566. 4202 | case 3: r_ptr->body.blows_calc.wgt = atoi(zz[2]);
  567. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  568. init1.c:4203:13: note: here
  569. 4203 | case 2: r_ptr->body.blows_calc.max = atoi(zz[1]);
  570. | ^~~~
  571. Successfully compiled init1.c
  572. Compiling init2.c...
  573. init2.c: In function ‘init_angband’:
  574. init2.c:1531:42: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=]
  575. 1531 | sprintf(why, "Cannot access the '%s' file!", buf);
  576. | ^~ ~~~
  577. init2.c:1531:9: note: ‘sprintf’ output between 27 and 1050 bytes into a destination of size 1024
  578. 1531 | sprintf(why, "Cannot access the '%s' file!", buf);
  579. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  580. Successfully compiled init2.c
  581. Compiling int-map.c...
  582. Successfully compiled int-map.c
  583. Compiling inv.c...
  584. Successfully compiled inv.c
  585. Compiling karrot.c...
  586. Successfully compiled karrot.c
  587. Compiling lawyer.c...
  588. Successfully compiled lawyer.c
  589. Compiling load.c...
  590. load.c: In function ‘load_floor’:
  591. load.c:1521:32: warning: ‘.F’ directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  592. 1521 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  593. | ^~
  594. load.c:1521:29: note: directive argument in the range [0, 255]
  595. 1521 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  596. | ^~~~~~~~~~
  597. load.c:1521:5: note: ‘sprintf’ output between 5 and 1029 bytes into a destination of size 1024
  598. 1521 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  599. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  600. Successfully compiled load.c
  601. Compiling mage.c...
  602. Successfully compiled mage.c
  603. Compiling magic_eater.c...
  604. magic_eater.c: In function ‘gain_magic’:
  605. magic_eater.c:495:41: warning: ‘%s’ directive writing up to 254 bytes into a region of size 240 [-Wformat-overflow=]
  606. 495 | sprintf(prompt, "Really replace %s? <color:y>[y/n]</color>", o_name);
  607. | ^~ ~~~~~~
  608. magic_eater.c:495:9: note: ‘sprintf’ output between 40 and 294 bytes into a destination of size 255
  609. 495 | sprintf(prompt, "Really replace %s? <color:y>[y/n]</color>", o_name);
  610. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  611. magic_eater.c:500:52: warning: ‘%s’ directive writing up to 254 bytes into a region of size 233 [-Wformat-overflow=]
  612. 500 | sprintf(prompt, "Copy inscription from %s? <color:y>[y/n]</color>", o_name);
  613. | ^~ ~~~~~~
  614. magic_eater.c:500:13: note: ‘sprintf’ output between 47 and 301 bytes into a destination of size 255
  615. 500 | sprintf(prompt, "Copy inscription from %s? <color:y>[y/n]</color>", o_name);
  616. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  617. Successfully compiled magic_eater.c
  618. Compiling mauler.c...
  619. Successfully compiled mauler.c
  620. Compiling melee1.c...
  621. Successfully compiled melee1.c
  622. Compiling melee2.c...
  623. melee2.c: In function ‘mon_attack_mon’:
  624. melee2.c:1943:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  625. 1943 | if ((p_ptr->riding != m_idx) && one_in_(2)) blinked = TRUE;
  626. | ^
  627. melee2.c:1944:17: note: here
  628. 1944 | case RBE_EAT_FOOD:
  629. | ^~~~
  630. Successfully compiled melee2.c
  631. Compiling menu.c...
  632. Successfully compiled menu.c
  633. Compiling message.c...
  634. Successfully compiled message.c
  635. Compiling mindcrafter.c...
  636. Successfully compiled mindcrafter.c
  637. Compiling mirror_master.c...
  638. mirror_master.c: In function ‘_banishing_mirror_spell’:
  639. mirror_master.c:80:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  640. 80 | if (_on_mirror)
  641. | ^
  642. mirror_master.c:85:5: note: here
  643. 85 | default:
  644. | ^~~~~~~
  645. mirror_master.c: In function ‘_mirror_of_wandering_spell’:
  646. mirror_master.c:426:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  647. 426 | if (_on_mirror)
  648. | ^
  649. mirror_master.c:431:5: note: here
  650. 431 | default:
  651. | ^~~~~~~
  652. mirror_master.c: In function ‘_mirror_tunnel_spell’:
  653. mirror_master.c:512:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  654. 512 | if (_on_mirror)
  655. | ^
  656. mirror_master.c:517:5: note: here
  657. 517 | default:
  658. | ^~~~~~~
  659. mirror_master.c: In function ‘_warped_mirror_spell’:
  660. mirror_master.c:704:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  661. 704 | if (_on_mirror)
  662. | ^
  663. mirror_master.c:709:5: note: here
  664. 709 | default:
  665. | ^~~~~~~
  666. Successfully compiled mirror_master.c
  667. Compiling mon.c...
  668. Successfully compiled mon.c
  669. Compiling mon_info.c...
  670. Successfully compiled mon_info.c
  671. Compiling monk.c...
  672. Successfully compiled monk.c
  673. Compiling monspell.c...
  674. Successfully compiled monspell.c
  675. Compiling monster.c...
  676. Successfully compiled monster.c
  677. Compiling monster1.c...
  678. Successfully compiled monster1.c
  679. Compiling monster2.c...
  680. Successfully compiled monster2.c
  681. Compiling mspells1.c...
  682. Successfully compiled mspells1.c
  683. Compiling mspells2.c...
  684. Successfully compiled mspells2.c
  685. Compiling mut.c...
  686. mut.c: In function ‘mut_gain_choice’:
  687. mut.c:609:41: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=]
  688. 609 | sprintf(buf, "You will gain %s. Are you sure?", buf2);
  689. | ^~ ~~~~
  690. mut.c:609:13: note: ‘sprintf’ output between 30 and 1053 bytes into a destination of size 1024
  691. 609 | sprintf(buf, "You will gain %s. Are you sure?", buf2);
  692. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  693. Successfully compiled mut.c
  694. Compiling mut_a.c...
  695. Successfully compiled mut_a.c
  696. Compiling mystic.c...
  697. Successfully compiled mystic.c
  698. Compiling necromancer.c...
  699. Successfully compiled necromancer.c
  700. Compiling ninja.c...
  701. Successfully compiled ninja.c
  702. Compiling ninjalaw.c...
  703. Successfully compiled ninjalaw.c
  704. Compiling obj.c...
  705. Successfully compiled obj.c
  706. Compiling obj_info.c...
  707. obj_info.c: In function ‘_display_slays’:
  708. obj_info.c:763:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  709. 763 | else if (have_flag(flgs, OF_SLAY_EVIL))
  710. | ^~
  711. obj_info.c:766:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  712. 766 | if (have_flag(flgs, OF_KILL_GOOD))
  713. | ^~
  714. obj_info.c: In function ‘_display_abilities’:
  715. obj_info.c:958:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  716. 958 | if (have_flag(flgs, OF_ESP_NONLIVING))
  717. | ^~
  718. obj_info.c:960:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  719. 960 | if (have_flag(flgs, OF_ESP_LIVING))
  720. | ^~
  721. Successfully compiled obj_info.c
  722. Compiling obj_prompt.c...
  723. Successfully compiled obj_prompt.c
  724. Compiling object1.c...
  725. Successfully compiled object1.c
  726. Compiling object2.c...
  727. Successfully compiled object2.c
  728. Compiling object3.c...
  729. Successfully compiled object3.c
  730. Compiling obj_kind.c...
  731. Successfully compiled obj_kind.c
  732. Compiling pack.c...
  733. Successfully compiled pack.c
  734. Compiling paladin.c...
  735. Successfully compiled paladin.c
  736. Compiling personality.c...
  737. Successfully compiled personality.c
  738. Compiling polly.c...
  739. Successfully compiled polly.c
  740. Compiling priest.c...
  741. Successfully compiled priest.c
  742. Compiling psion.c...
  743. Successfully compiled psion.c
  744. Compiling py_birth.c...
  745. Successfully compiled py_birth.c
  746. Compiling py_info.c...
  747. Successfully compiled py_info.c
  748. Compiling py_throw.c...
  749. Successfully compiled py_throw.c
  750. Compiling quest.c...
  751. Successfully compiled quest.c
  752. Compiling quiver.c...
  753. Successfully compiled quiver.c
  754. Compiling races.c...
  755. Successfully compiled races.c
  756. Compiling races_a.c...
  757. Successfully compiled races_a.c
  758. Compiling races_k.c...
  759. Successfully compiled races_k.c
  760. Compiling races_mf.c...
  761. Successfully compiled races_mf.c
  762. Compiling r_angel.c...
  763. Successfully compiled r_angel.c
  764. Compiling r_centip.c...
  765. Successfully compiled r_centip.c
  766. Compiling r_demon.c...
  767. Successfully compiled r_demon.c
  768. Compiling r_dragon.c...
  769. Successfully compiled r_dragon.c
  770. Compiling r_elem.c...
  771. Successfully compiled r_elem.c
  772. Compiling r_eye.c...
  773. Successfully compiled r_eye.c
  774. Compiling r_giant.c...
  775. Successfully compiled r_giant.c
  776. Compiling r_golem.c...
  777. Successfully compiled r_golem.c
  778. Compiling r_hound.c...
  779. Successfully compiled r_hound.c
  780. Compiling r_hydra.c...
  781. Successfully compiled r_hydra.c
  782. Compiling r_jelly.c...
  783. Successfully compiled r_jelly.c
  784. Compiling r_leprec.c...
  785. Successfully compiled r_leprec.c
  786. Compiling r_lich.c...
  787. Successfully compiled r_lich.c
  788. Compiling r_mimic.c...
  789. Successfully compiled r_mimic.c
  790. Compiling r_mummy.c...
  791. Successfully compiled r_mummy.c
  792. Compiling r_orc.c...
  793. Successfully compiled r_orc.c
  794. Compiling r_poss.c...
  795. r_poss.c: In function ‘possessor_attack’:
  796. r_poss.c:469:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
  797. 469 | if (dam > 23) delay_quake = TRUE;
  798. | ^
  799. r_poss.c:470:17: note: here
  800. 470 | case RBE_HURT:
  801. | ^~~~
  802. Successfully compiled r_poss.c
  803. Compiling r_pump.c...
  804. Successfully compiled r_pump.c
  805. Compiling r_quyl.c...
  806. Successfully compiled r_quyl.c
  807. Compiling r_rag.c...
  808. Successfully compiled r_rag.c
  809. Compiling r_spider.c...
  810. Successfully compiled r_spider.c
  811. Compiling r_ring.c...
  812. r_ring.c: In function ‘_calc_bonuses’:
  813. r_ring.c:1468:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  814. 1468 | if (_essences[OF_ESP_NONLIVING] >= 2)
  815. | ^~
  816. r_ring.c:1470:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  817. 1470 | if (_essences[OF_ESP_LIVING] >= 2)
  818. | ^~
  819. r_ring.c: In function ‘_get_flags’:
  820. r_ring.c:1574:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  821. 1574 | if (_essences[OF_ESP_NONLIVING] >= 2)
  822. | ^~
  823. r_ring.c:1576:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  824. 1576 | if (_essences[OF_ESP_LIVING] >= 2)
  825. | ^~
  826. Successfully compiled r_ring.c
  827. Compiling r_sword.c...
  828. r_sword.c: In function ‘_calc_bonuses’:
  829. r_sword.c:534:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  830. 534 | if (_essences[OF_ESP_NONLIVING] >= 2)
  831. | ^~
  832. r_sword.c:536:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  833. 536 | if (_essences[OF_ESP_LIVING] >= 2)
  834. | ^~
  835. r_sword.c: In function ‘_get_flags’:
  836. r_sword.c:625:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  837. 625 | if (_essences[OF_ESP_NONLIVING] >= 2)
  838. | ^~
  839. r_sword.c:627:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  840. 627 | if (_essences[OF_ESP_LIVING] >= 2)
  841. | ^~
  842. Successfully compiled r_sword.c
  843. Compiling r_troll.c...
  844. Successfully compiled r_troll.c
  845. Compiling r_vamp.c...
  846. Successfully compiled r_vamp.c
  847. Compiling r_vortex.c...
  848. Successfully compiled r_vortex.c
  849. Compiling r_xorn.c...
  850. Successfully compiled r_xorn.c
  851. Compiling racial.c...
  852. Successfully compiled racial.c
  853. Compiling ragemage.c...
  854. ragemage.c: In function ‘_evasive_leap_spell’:
  855. ragemage.c:247:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  856. 247 | if (p_ptr->shero)
  857. | ^
  858. ragemage.c:252:5: note: here
  859. 252 | default:
  860. | ^~~~~~~
  861. ragemage.c: In function ‘_object_dam_type’:
  862. ragemage.c:566:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  863. 566 | switch (randint1(5))
  864. | ^~~~~~
  865. ragemage.c:576:5: note: here
  866. 576 | case EFFECT_CONFUSE_MONSTERS:
  867. | ^~~~
  868. Successfully compiled ragemage.c
  869. Compiling randname.c...
  870. Successfully compiled randname.c
  871. Compiling ranger.c...
  872. Successfully compiled ranger.c
  873. Compiling rect.c...
  874. Successfully compiled rect.c
  875. Compiling red_mage.c...
  876. Successfully compiled red_mage.c
  877. Compiling resist.c...
  878. Successfully compiled resist.c
  879. Compiling rogue.c...
  880. Successfully compiled rogue.c
  881. Compiling rooms.c...
  882. Successfully compiled rooms.c
  883. Compiling rune_kt.c...
  884. Successfully compiled rune_kt.c
  885. Compiling samurai.c...
  886. Successfully compiled samurai.c
  887. Compiling save.c...
  888. save.c: In function ‘wr_extra’:
  889. save.c:860:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘power_labels’ will never be NULL [-Waddress]
  890. 860 | if (!power_labels[i]) savefile_write_byte(file, 0xFF);
  891. | ^
  892. In file included from angband.h:62,
  893. from save.c:13:
  894. externs.h:555:13: note: ‘power_labels’ declared here
  895. 555 | extern char power_labels[MAX_POWER_LABEL][15];
  896. | ^~~~~~~~~~~~
  897. save.c: In function ‘save_floor’:
  898. save.c:1900:32: warning: ‘.F’ directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  899. 1900 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  900. | ^~
  901. save.c:1900:29: note: directive argument in the range [0, 255]
  902. 1900 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  903. | ^~~~~~~~~~
  904. save.c:1900:5: note: ‘sprintf’ output between 5 and 1029 bytes into a destination of size 1024
  905. 1900 | sprintf(floor_savefile, "%s.F%02d", savefile, (int)sf_ptr->savefile_id);
  906. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  907. Successfully compiled save.c
  908. Compiling savefile.c...
  909. Successfully compiled savefile.c
  910. Compiling scores.c...
  911. Successfully compiled scores.c
  912. Compiling scout.c...
  913. Successfully compiled scout.c
  914. Compiling shop.c...
  915. shop.c: In function ‘_stock_base’:
  916. shop.c:2107:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  917. 2107 | if (shop->type->id == SHOP_GENERAL)
  918. | ^~
  919. shop.c:2109:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  920. 2109 | if (shop->type->id == SHOP_SHROOMERY)
  921. | ^~
  922. shop.c: In function ‘_loop’:
  923. shop.c:1508:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  924. 1508 | if (p_ptr->wizard) _wizard_stock(context->shop);
  925. | ^
  926. shop.c:1509:13: note: here
  927. 1509 | case KTRL('S'):
  928. | ^~~~
  929. Successfully compiled shop.c
  930. Compiling skillmaster.c...
  931. skillmaster.c: In function ‘_skills_calc_bonuses’:
  932. skillmaster.c:1210:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
  933. 1210 | case 3: p_ptr->telepathy = TRUE;
  934. skillmaster.c:1211:5: note: here
  935. 1211 | case 2: p_ptr->auto_pseudo_id = TRUE;
  936. | ^~~~
  937. skillmaster.c:1211:35: warning: this statement may fall through [-Wimplicit-fallthrough=]
  938. 1211 | case 2: p_ptr->auto_pseudo_id = TRUE;
  939. skillmaster.c:1212:5: note: here
  940. 1212 | case 1: p_ptr->see_inv++;
  941. | ^~~~
  942. In file included from angband.h:42,
  943. from skillmaster.c:1:
  944. skillmaster.c: In function ‘_skills_get_flags’:
  945. defines.h:2826:53: warning: this statement may fall through [-Wimplicit-fallthrough=]
  946. 2826 | #define add_flag(ARRAY, INDEX) ((ARRAY)[(INDEX)/32] |= (1L << ((INDEX)%32)))
  947. | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  948. skillmaster.c:1229:13: note: in expansion of macro ‘add_flag’
  949. 1229 | case 3: add_flag(flgs, OF_TELEPATHY);
  950. | ^~~~~~~~
  951. skillmaster.c:1230:5: note: here
  952. 1230 | case 2: add_flag(flgs, OF_LORE2);
  953. | ^~~~
  954. defines.h:2826:53: warning: this statement may fall through [-Wimplicit-fallthrough=]
  955. 2826 | #define add_flag(ARRAY, INDEX) ((ARRAY)[(INDEX)/32] |= (1L << ((INDEX)%32)))
  956. | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  957. skillmaster.c:1230:13: note: in expansion of macro ‘add_flag’
  958. 1230 | case 2: add_flag(flgs, OF_LORE2);
  959. | ^~~~~~~~
  960. skillmaster.c:1231:5: note: here
  961. 1231 | case 1: add_flag(flgs, OF_SEE_INVIS);
  962. | ^~~~
  963. Successfully compiled skillmaster.c
  964. Compiling skills.c...
  965. Successfully compiled skills.c
  966. Compiling sniper.c...
  967. Successfully compiled sniper.c
  968. Compiling sorcerer.c...
  969. Successfully compiled sorcerer.c
  970. Compiling spells.c...
  971. Successfully compiled spells.c
  972. Compiling spells1.c...
  973. spells1.c: In function ‘project_f’:
  974. spells1.c:963:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  975. 963 | else message = "burns up!";break;
  976. | ^~~~
  977. spells1.c:963:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  978. 963 | else message = "burns up!";break;
  979. | ^~~~~
  980. Successfully compiled spells1.c
  981. Compiling spells2.c...
  982. spells2.c: In function ‘activate_ty_curse’:
  983. spells2.c:4264:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  984. 4264 | if (!(*count))
  985. | ^
  986. spells2.c:4271:9: note: here
  987. 4271 | case 30: case 31:
  988. | ^~~~
  989. spells2.c:4272:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  990. 4272 | if (!(*count))
  991. | ^
  992. spells2.c:4281:9: note: here
  993. 4281 | case 32: case 33:
  994. | ^~~~
  995. spells2.c:4282:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  996. 4282 | if (!(*count))
  997. | ^
  998. spells2.c:4290:9: note: here
  999. 4290 | case 34:
  1000. | ^~~~
  1001. spells2.c:4299:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1002. 4299 | if (!one_in_(6)) break;
  1003. | ^
  1004. spells2.c:4300:9: note: here
  1005. 4300 | case 1: case 2: case 3: case 16: case 17:
  1006. | ^~~~
  1007. spells2.c:4302:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1008. 4302 | if (!one_in_(6)) break;
  1009. | ^
  1010. spells2.c:4303:9: note: here
  1011. 4303 | case 4: case 5: case 6:
  1012. | ^~~~
  1013. spells2.c:4305:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1014. 4305 | if (!one_in_(6)) break;
  1015. | ^
  1016. spells2.c:4306:9: note: here
  1017. 4306 | case 7: case 8: case 9: case 18:
  1018. | ^~~~
  1019. spells2.c:4308:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1020. 4308 | if (!one_in_(6)) break;
  1021. | ^
  1022. spells2.c:4309:9: note: here
  1023. 4309 | case 10: case 11: case 12:
  1024. | ^~~~
  1025. spells2.c:4313:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1026. 4313 | if (!one_in_(6)) break;
  1027. | ^
  1028. spells2.c:4314:9: note: here
  1029. 4314 | case 13: case 14: case 15: case 19: case 20:
  1030. | ^~~~
  1031. spells2.c:4332:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1032. 4332 | if (!one_in_(6)) break;
  1033. | ^
  1034. spells2.c:4333:9: note: here
  1035. 4333 | case 21: case 22: case 23:
  1036. | ^~~~
  1037. spells2.c:4335:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1038. 4335 | if (!one_in_(6)) break;
  1039. | ^
  1040. spells2.c:4336:9: note: here
  1041. 4336 | case 24:
  1042. | ^~~~
  1043. spells2.c:4337:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1044. 4337 | if (!never_forget)
  1045. | ^
  1046. spells2.c:4344:9: note: here
  1047. 4344 | case 25:
  1048. | ^~~~
  1049. Successfully compiled spells2.c
  1050. Compiling spells3.c...
  1051. Successfully compiled spells3.c
  1052. Compiling spells_a.c...
  1053. Successfully compiled spells_a.c
  1054. Compiling spells_c.c...
  1055. Successfully compiled spells_c.c
  1056. Compiling spells_h.c...
  1057. Successfully compiled spells_h.c
  1058. Compiling spells_m.c...
  1059. Successfully compiled spells_m.c
  1060. Compiling spells_s.c...
  1061. spells_s.c: In function ‘teleport_spell’:
  1062. spells_s.c:1559:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1063. 1559 | if (mut_present(MUT_ASTRAL_GUIDE))
  1064. | ^
  1065. spells_s.c:1564:5: note: here
  1066. 1564 | default:
  1067. | ^~~~~~~
  1068. Successfully compiled spells_s.c
  1069. Compiling spoilers.c...
  1070. Successfully compiled spoilers.c
  1071. Compiling str-map.c...
  1072. Successfully compiled str-map.c
  1073. Compiling streams.c...
  1074. Successfully compiled streams.c
  1075. Compiling tables.c...
  1076. Successfully compiled tables.c
  1077. Compiling timelord.c...
  1078. Successfully compiled timelord.c
  1079. Compiling tourist.c...
  1080. Successfully compiled tourist.c
  1081. Compiling troika.c...
  1082. Successfully compiled troika.c
  1083. Compiling util.c...
  1084. util.c: In function ‘askfor_aux’:
  1085. util.c:2816:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1086. 2816 | pos = i;
  1087. | ~~~~^~~
  1088. util.c:2821:9: note: here
  1089. 2821 | case 0x7F:
  1090. | ^~~~
  1091. Successfully compiled util.c
  1092. Compiling variable.c...
  1093. Successfully compiled variable.c
  1094. Compiling variant.c...
  1095. Successfully compiled variant.c
  1096. Compiling warlock.c...
  1097. warlock.c: In function ‘_mount_jump_spell’:
  1098. warlock.c:890:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1099. 890 | if (!p_ptr->riding)
  1100. | ^
  1101. warlock.c:896:5: note: here
  1102. 896 | default:
  1103. | ^~~~~~~
  1104. warlock.c: In function ‘_dragonrider_ai’:
  1105. warlock.c:996:44: warning: ‘%s’ directive writing up to 254 bytes into a region of size 246 [-Wformat-overflow=]
  1106. 996 | sprintf(cast->name2, "<color:o>%s</color>", tmp);
  1107. | ^~ ~~~
  1108. warlock.c:996:13: note: ‘sprintf’ output between 18 and 272 bytes into a destination of size 255
  1109. 996 | sprintf(cast->name2, "<color:o>%s</color>", tmp);
  1110. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1111. Successfully compiled warlock.c
  1112. Compiling warrior.c...
  1113. Successfully compiled warrior.c
  1114. Compiling warrior_mage.c...
  1115. Successfully compiled warrior_mage.c
  1116. Compiling weaponmaster.c...
  1117. Successfully compiled weaponmaster.c
  1118. Compiling weaponsmith.c...
  1119. Successfully compiled weaponsmith.c
  1120. Compiling werewolf.c...
  1121. Successfully compiled werewolf.c
  1122. Compiling wild.c...
  1123. Successfully compiled wild.c
  1124. Compiling wild_realm.c...
  1125. Successfully compiled wild_realm.c
  1126. Compiling wild_talent.c...
  1127. Successfully compiled wild_talent.c
  1128. Compiling wizard1.c...
  1129. wizard1.c: In function ‘spoil_spells_by_class’:
  1130. wizard1.c:2306:19: warning: cast between incompatible function types from ‘int (*)(int, int)’ to ‘int (*)(const void *, const void *)’ [-Wcast-function-type]
  1131. 2306 | vec_sort(vec, (vec_cmp_f)_cmp_class_name);
  1132. | ^
  1133. wizard1.c: In function ‘_spoil_spells_by_realm_aux2’:
  1134. wizard1.c:2407:19: warning: cast between incompatible function types from ‘int (*)(int, int)’ to ‘int (*)(const void *, const void *)’ [-Wcast-function-type]
  1135. 2407 | vec_sort(vec, (vec_cmp_f)_cmp_class_name);
  1136. | ^
  1137. wizard1.c: In function ‘_spoil_spells_by_realm_aux1’:
  1138. wizard1.c:2455:19: warning: cast between incompatible function types from ‘int (*)(int, int)’ to ‘int (*)(const void *, const void *)’ [-Wcast-function-type]
  1139. 2455 | vec_sort(vec, (vec_cmp_f)_cmp_class_name);
  1140. | ^
  1141. Successfully compiled wizard1.c
  1142. Compiling wizard2.c...
  1143. Successfully compiled wizard2.c
  1144. Compiling wiz_obj.c...
  1145. Successfully compiled wiz_obj.c
  1146. Compiling xtra1.c...
  1147. xtra1.c: In function ‘_calc_xtra_hp_aux’:
  1148. xtra1.c:3468:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1149. 3468 | switch (p_ptr->psubclass)
  1150. | ^~~~~~
  1151. xtra1.c:3481:5: note: here
  1152. 3481 | case CLASS_ROGUE:
  1153. | ^~~~
  1154. Successfully compiled xtra1.c
  1155. Compiling xtra2.c...
  1156. xtra2.c: In function ‘target_set’:
  1157. xtra2.c:4749:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1158. 4749 | x = px;
  1159. | ~~^~~~
  1160. xtra2.c:4752:17: note: here
  1161. 4752 | case 'o':
  1162. | ^~~~
  1163. Successfully compiled xtra2.c
  1164. Compiling yellow_mage.c...
  1165. Successfully compiled yellow_mage.c
  1166. Compiling yeqrezh.c...
  1167. Successfully compiled yeqrezh.c
  1168. Compiling c-string.c...
  1169. Successfully compiled c-string.c
  1170. Compiling c-vec.c...
  1171. Successfully compiled c-vec.c
  1172. Compiling z-doc.c...
  1173. z-doc.c: In function ‘doc_display_aux’:
  1174. z-doc.c:1822:161: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 130 [-Wformat-overflow=]
  1175. 1822 | ly accepts HTML dumps.\n<color:y>Save dump as</color> <color:R>%s</color><color:y>? [y/n]</color>", nuname);
  1176. | ^~ ~~~~~~
  1177.  
  1178. z-doc.c:1822:17: note: ‘sprintf’ output between 159 and 1182 bytes into a destination of size 256
  1179. 1822 | sprintf(prompt, "Please note that the FrogComposband Ladder at angband.oook.cz only accepts HTML dumps.\n<color:y>Save dump as</color> <color:R>%s</color><color:y>? [y/n]</color>", nuname);
  1180. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1181. Successfully compiled z-doc.c
  1182. Compiling z-form.c...
  1183. Successfully compiled z-form.c
  1184. Compiling z-rand.c...
  1185. Successfully compiled z-rand.c
  1186. Compiling z-term.c...
  1187. Successfully compiled z-term.c
  1188. Compiling z-util.c...
  1189. Successfully compiled z-util.c
  1190. Compiling z-virt.c...
  1191. Successfully compiled z-virt.c
  1192. Compiling main.c...
  1193. Successfully compiled main.c
  1194. Compiling main-x11.c...
  1195. Successfully compiled main-x11.c
  1196. Compiling main-sdl.c...
  1197. main-sdl.c: In function ‘Term_xtra_sdl’:
  1198. main-sdl.c:3165:13: warning: implicit declaration of function ‘play_sound’ [-Wimplicit-function-declaration]
  1199. 3165 | play_sound(v);
  1200. | ^~~~~~~~~~
  1201. main-sdl.c: In function ‘load_gfx’:
  1202. main-sdl.c:3692:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1203. 3692 | Pixel = *p;
  1204. | ~~~~~~^~~~
  1205. main-sdl.c:3694:9: note: here
  1206. 3694 | case 2:
  1207. | ^~~~
  1208. main-sdl.c:3697:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1209. 3697 | Pixel = *p;
  1210. | ~~~~~~^~~~
  1211. main-sdl.c:3699:9: note: here
  1212. 3699 | case 3:
  1213. | ^~~~
  1214. Successfully compiled main-sdl.c
  1215. /usr/bin/ld: main-sdl.o: in function `Term_xtra_sdl':
  1216. /home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src/main-sdl.c:3165:(.text+0x503f): undefined reference to `play_sound'
  1217. collect2: error: ld returned 1 exit status
  1218. make[3]: *** [Makefile:23: frogcomposband] Error 1
  1219. make[3]: Leaving directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  1220. make[2]: *** [../mk/buildsys.mk:112: all] Error 2
  1221. make[2]: Leaving directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak/src'
  1222. make[1]: *** [mk/buildsys.mk:117: subdirs] Error 2
  1223. make[1]: Leaving directory '/home/swim/Desktop/GAMES/Frogcomposband/frogcomposband-7.1.salmiak'
  1224. make: *** [mk/buildsys.mk:110: all] Error 2
  1225.  
Advertisement
Add Comment
Please, Sign In to add comment