Guest User

Untitled

a guest
Jul 4th, 2026
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.65 KB | None | 0 0
  1.  
  2. soyal@DESKTOP-VU1JM92 MINGW64 ~
  3. $ cd C:\Users\soyal\Desktop\silent-hill-decomp\pc_port
  4. -bash: cd: C:UserssoyalDesktopsilent-hill-decomppc_port: No such file or directory
  5.  
  6. soyal@DESKTOP-VU1JM92 MINGW64 ~
  7. $ cd "C:\Users\soyal\Desktop\silent-hill-decomp\pc_port"
  8.  
  9. soyal@DESKTOP-VU1JM92 MINGW64 /c/Users/soyal/Desktop/silent-hill-decomp/pc_port
  10. $ –ccmake -S . -B build -G Ninja -DSH_BUILD_MAP_DLLS=ON
  11. -bash: $'\302\226cmake': command not found
  12.  
  13. soyal@DESKTOP-VU1JM92 MINGW64 /c/Users/soyal/Desktop/silent-hill-decomp/pc_port
  14. $ cmake -S . -B build -G Ninja -DSH_BUILD_MAP_DLLS=ON
  15. -- PsyCross found at: C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross
  16. -- Map map0_s01: DLL target created
  17. -- Map map0_s02: DLL target created
  18. -- Map map1_s00: DLL target created
  19. -- Map map1_s01: DLL target created
  20. -- Map map1_s02: DLL target created
  21. -- Map map1_s03: DLL target created
  22. -- Map map1_s04: DLL target created
  23. -- Map map1_s05: DLL target created
  24. -- Map map1_s06: DLL target created
  25. -- Map map2_s00: DLL target created
  26. -- Map map2_s01: DLL target created
  27. -- Map map2_s02: DLL target created
  28. -- Map map2_s03: DLL target created
  29. -- Map map2_s04: DLL target created
  30. -- Map map3_s00: DLL target created
  31. -- Map map3_s01: DLL target created
  32. -- Map map3_s02: DLL target created
  33. -- Map map3_s03: DLL target created
  34. -- Map map3_s04: DLL target created
  35. -- Map map3_s05: DLL target created
  36. -- Map map3_s06: DLL target created
  37. -- Map map4_s00: DLL target created
  38. -- Map map4_s01: DLL target created
  39. -- Map map4_s02: DLL target created
  40. -- Map map4_s03: DLL target created
  41. -- Map map4_s04: DLL target created
  42. -- Map map4_s05: DLL target created
  43. -- Map map4_s06: DLL target created
  44. -- Map map5_s00: DLL target created
  45. -- Map map5_s01: DLL target created
  46. -- Map map5_s02: DLL target created
  47. -- Map map5_s03: DLL target created
  48. -- Map map6_s00: DLL target created
  49. -- Map map6_s01: DLL target created
  50. -- Map map6_s02: DLL target created
  51. -- Map map6_s03: DLL target created
  52. -- Map map6_s04: DLL target created
  53. -- Map map6_s05: DLL target created
  54. -- Map map7_s00: DLL target created
  55. -- Map map7_s01: DLL target created
  56. -- Map map7_s02: DLL target created
  57. -- Map map7_s03: DLL target created
  58. -- Configuring done (0.4s)
  59. -- Generating done (0.1s)
  60. -- Build files have been written to: C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/build
  61.  
  62. soyal@DESKTOP-VU1JM92 MINGW64 /c/Users/soyal/Desktop/silent-hill-decomp/pc_port
  63. $ cmake --build build
  64. [2/596] Building C object psycross/CMakeFiles/psycross_static.dir/src/psx/libgte.c.obj
  65. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libgte.c:2:
  66. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libgte.c: In function 'NormalColorDpq':
  67. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/include/psx/inline_c.h:114:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  68. 114 | { MTC2(*(uint*)(r0), 8); }
  69. | ^
  70. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/include/psx/gtemac.h:88:41: note: in expansion of macro 'gte_lddp'
  71. 88 | gte_lddp(r3); \
  72. | ^~~~~~~~
  73. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libgte.c:191:9: note: in expansio
  74. n of macro 'gte_NormalColorDpq'
  75. 191 | gte_NormalColorDpq(v0, v1, p, v2);
  76. | ^~~~~~~~~~~~~~~~~~
  77. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libgte.c: In function 'ColorDpq':
  78. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/include/psx/inline_c.h:114:23: warning: c
  79. ast to pointer from integer of different size [-Wint-to-pointer-cast]
  80. 114 | { MTC2(*(uint*)(r0), 8); }
  81. | ^
  82. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/include/psx/gtemac.h:114:41: note: in exp
  83. ansion of macro 'gte_lddp'
  84. 114 | gte_lddp(r3); \
  85. | ^~~~~~~~
  86. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libgte.c:211:9: note: in expansio
  87. n of macro 'gte_ColorDpq'
  88. 211 | gte_ColorDpq(v0, v1, p, v2);
  89. | ^~~~~~~~~~~~
  90. [3/596] Building C object CMakeFiles/SilentHillPC.dir/src/cheryl_anim_info.c.obj
  91. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  92. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/cheryl_anim_info.c:11:
  93. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  94. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  95. NATE2* boneCoords, struct _AnimInfo* animInfo);
  96. | ^~~~~~
  97. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  98. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/cheryl_anim_info.c:12:
  99. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  100. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  101. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  102. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  103. 2 | #define _BODYPROG_FORMATS_ANM_H
  104. [4/596] Building C object CMakeFiles/SilentHillPC.dir/src/bloody_incubator_anim_infos.c.obj
  105. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  106. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  107. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/bloody_incubator_anim_infos.c:7:
  108. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  109. clared inside parameter list will not be visible outside of this definition or declaration
  110. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  111. | ^~~~~~
  112. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  113. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  114. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  115. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  116. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  117. 2 | #define _BODYPROG_FORMATS_ANM_H
  118. [5/596] Building C object CMakeFiles/SilentHillPC.dir/src/alessa_anim_infos.c.obj
  119. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  120. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  121. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/alessa_anim_infos.c:9:
  122. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  123. clared inside parameter list will not be visible outside of this definition or declaration
  124. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  125. | ^~~~~~
  126. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  127. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  128. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  129. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  130. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  131. 2 | #define _BODYPROG_FORMATS_ANM_H
  132. [6/596] Building C object CMakeFiles/SilentHillPC.dir/src/cat_anim_infos.c.obj
  133. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  134. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  135. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/cat_anim_infos.c:6:
  136. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  137. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  138. | ^~~~~~
  139. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  140. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  141. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  142. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  143. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  144. 2 | #define _BODYPROG_FORMATS_ANM_H
  145. [7/596] Building C object CMakeFiles/SilentHillPC.dir/src/bloodsucker_anim_infos.c.obj
  146. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  147. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  148. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/bloodsucker_anim_infos.c
  149. :15:
  150. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  151. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  152. | ^~~~~~
  153. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  154. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  155. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  156. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  157. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  158. 2 | #define _BODYPROG_FORMATS_ANM_H
  159. [8/596] Building C object CMakeFiles/SilentHillPC.dir/src/bloody_lisa_anim_infos.c.obj
  160. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  161. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  162. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/bloody_lisa_anim_infos.c:9:
  163. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  164. clared inside parameter list will not be visible outside of this definition or declaration
  165. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  166. NATE2* boneCoords, struct _AnimInfo* animInfo);
  167. | ^~~~~~
  168. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  169. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  170. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  171. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  172. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  173. 2 | #define _BODYPROG_FORMATS_ANM_H
  174. [9/596] Building C object CMakeFiles/SilentHillPC.dir/src/as_rodata_reformat.c.obj
  175. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  176. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  177. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/as_rodata_reformat.c:27:
  178. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  179. clared inside parameter list will not be visible outside of this definition or declaration
  180. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  181. | ^~~~~~
  182. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  183. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  184. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  185. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  186. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  187. 2 | #define _BODYPROG_FORMATS_ANM_H
  188. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/as_rodata_reformat.c:29:
  189. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/as_rodata_reformat.c: In function 'AsRodata_Re
  190. format':
  191. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:52: warning: '[SH] AsRodata_Re
  192. format: popu...' directive output truncated writing 65 bytes into a region of size 64 [-Wformat-truncation=]
  193. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  194. | ^~~~~~~
  195. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/as_rodata_reformat.c:145:5: note: in expansion of macro 'SH_LOG'
  196. 145 | SH_LOG("AsRodata_Reformat: populated sharedData_800CAA98_0_s01 from %d-byte raw extract"
  197. ,
  198. | ^~~~~~
  199. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:9: note: 'snprintf' output 87 bytes into a destination of size 64
  200. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  201. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  202. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/as_rodata_reformat.c:145:5: note: in expansion of macro 'SH_LOG'
  203. 145 | SH_LOG("AsRodata_Reformat: populated sharedData_800CAA98_0_s01 from %d-byte raw extract",
  204. | ^~~~~~
  205. [10/596] Building C object CMakeFiles/SilentHillPC.dir/src/creeper_anim_infos.c.obj
  206. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  207. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  208. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/creeper_anim_infos.c:7:
  209. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  210. clared inside parameter list will not be visible outside of this definition or declaration
  211. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  212. | ^~~~~~
  213. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  214. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  215. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  216. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  217. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  218. 2 | #define _BODYPROG_FORMATS_ANM_H
  219. [11/596] Building C object CMakeFiles/SilentHillPC.dir/src/cybil_anim_info.c.obj
  220. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  221. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/cybil_anim_info.c:11:
  222. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  223. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  224. | ^~~~~~
  225. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  226. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/cybil_anim_info.c:12:
  227. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  228. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  229. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  230. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  231. 2 | #define _BODYPROG_FORMATS_ANM_H
  232. [12/596] Building C object CMakeFiles/SilentHillPC.dir/src/flauros_anim_infos.c.obj
  233. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  234. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  235. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/flauros_anim_infos.c:7:
  236. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  237. clared inside parameter list will not be visible outside of this definition or declaration
  238. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  239. | ^~~~~~
  240. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  241. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  242. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  243. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  244. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  245. 2 | #define _BODYPROG_FORMATS_ANM_H
  246. [13/596] Building C object CMakeFiles/SilentHillPC.dir/src/dahlia_anim_infos.c.obj
  247. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  248. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  249. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dahlia_anim_infos.c:9:
  250. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  251. clared inside parameter list will not be visible outside of this definition or declaration
  252. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  253. NATE2* boneCoords, struct _AnimInfo* animInfo);
  254. | ^~~~~~
  255. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  256. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  257. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  258. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  259. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  260. 2 | #define _BODYPROG_FORMATS_ANM_H
  261. [14/596] Building C object CMakeFiles/SilentHillPC.dir/src/dms_reformat.c.obj
  262. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  263. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dms_reformat.c:40:
  264. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  265. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  266. NATE2* boneCoords, struct _AnimInfo* animInfo);
  267. | ^~~~~~
  268. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  269. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dms_reformat.c:46:
  270. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  271. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  272. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  273. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  274. 2 | #define _BODYPROG_FORMATS_ANM_H
  275. [15/596] Building C object CMakeFiles/SilentHillPC.dir/src/floatstinger_anim_infos.c.obj
  276. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  277. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  278. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/floatstinger_anim_infos.
  279. c:7:
  280. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  281. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  282. | ^~~~~~
  283. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  284. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  285. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  286. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  287. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  288. 2 | #define _BODYPROG_FORMATS_ANM_H
  289. [17/596] Building C object CMakeFiles/SilentHillPC.dir/src/ghost_doctor_anim_infos.c.obj
  290. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  291. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  292. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/ghost_doctor_anim_infos.
  293. c:7:
  294. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  295. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  296. | ^~~~~~
  297. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  298. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  299. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  300. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  301. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  302. 2 | #define _BODYPROG_FORMATS_ANM_H
  303. [18/596] Building C object CMakeFiles/SilentHillPC.dir/src/ghost_child_alessa_anim_infos.c.obj
  304. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  305. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  306. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/ghost_child_alessa_anim_
  307. infos.c:9:
  308. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  309. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  310. | ^~~~~~
  311. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  312. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  313. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  314. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  315. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  316. 2 | #define _BODYPROG_FORMATS_ANM_H
  317. [19/596] Building C object CMakeFiles/SilentHillPC.dir/src/harry_m6s04_extra_anim_infos.c.obj
  318. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  319. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  320. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/harry_m6s04_extra_anim_i
  321. nfos.c:16:
  322. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  323. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  324. | ^~~~~~
  325. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  326. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  327. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  328. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  329. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  330. 2 | #define _BODYPROG_FORMATS_ANM_H
  331. [20/596] Building C object CMakeFiles/SilentHillPC.dir/src/hanged_scratcher_anim_infos.c.obj
  332. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  333. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  334. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/hanged_scratcher_anim_infos.c:7:
  335. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  336. clared inside parameter list will not be visible outside of this definition or declaration
  337. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  338. | ^~~~~~
  339. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  340. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  341. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  342. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  343. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  344. 2 | #define _BODYPROG_FORMATS_ANM_H
  345. [21/596] Building C object CMakeFiles/SilentHillPC.dir/src/groaner_anim_infos.c.obj
  346. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  347. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  348. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/groaner_anim_infos.c:25:
  349. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  350. clared inside parameter list will not be visible outside of this definition or declaration
  351. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  352. NATE2* boneCoords, struct _AnimInfo* animInfo);
  353. | ^~~~~~
  354. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  355. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  356. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  357. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  358. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  359. 2 | #define _BODYPROG_FORMATS_ANM_H
  360. [22/596] Building C object CMakeFiles/SilentHillPC.dir/src/dbg_overlay.c.obj
  361. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  362. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:1:
  363. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  364. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  365. | ^~~~~~
  366. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  367. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:11:
  368. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  369. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  370. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  371. 2 | #define _BODYPROG_FORMATS_ANM_H
  372. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c: In function 'coll_gather':
  373. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:547:8: warning: '== COLLISION (' toggle) [Q...' directive output truncated writing 34 bytes into a region of size 32 [-Wformat-truncation=]
  374. 547 | CL("== COLLISION (' toggle) [Q12] ==");
  375. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  376. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:81: note: in definition of m
  377. acro 'CL'
  378. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__)
  379. ; } while (0)
  380. | ^~~~~~~~~~~
  381. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:547:41: note: format string is defined here
  382. 547 | CL("== COLLISION (' toggle) [Q12] ==");
  383. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  384. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:42: note: 'snprintf' output
  385. 35 bytes into a destination of size 32
  386. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__)
  387. ; } while (0)
  388. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  389. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:547:5: note: in expansion of macro 'CL'
  390. 547 | CL("== COLLISION (' toggle) [Q12] ==");
  391. | ^~
  392. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:557:16: warning: 't ago ' directive output truncated writing 6 bytes into a region of size 0 [-Wformat-truncation=]
  393. 557 | CL("WALLEDGE gH=%d bnd=%d cnt=%d hY=%d %dt ago %s",
  394. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  395. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:81: note: in definition of m
  396. acro 'CL'
  397. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__); } while (0)
  398. | ^~~~~~~~~~~
  399. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:557:54: note: format string is d
  400. efined here
  401. 557 | CL("WALLEDGE gH=%d bnd=%d cnt=%d hY=%d %dt ago %s",
  402. | ^~~~~~
  403. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:42: note: 'snprintf' output 39 or more bytes into a destination of size 32
  404. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__)
  405. ; } while (0)
  406. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  407. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:557:13: note: in expansion of macro 'CL'
  408. 557 | CL("WALLEDGE gH=%d bnd=%d cnt=%d hY=%d %dt ago %s",
  409. | ^~
  410. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:565:8: warning: 'snprintf' outpu
  411. t may be truncated before the last format character [-Wformat-truncation=]
  412. 565 | CL("tilt X=%d Z=%d type=%d", (int)c0.tiltAngleX, (int)c0.tiltAngleZ, (int)c0.groundType);
  413. | ^~~~~~~~~~~~~~~~~~~~~~~~
  414. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:81: note: in definition of m
  415. acro 'CL'
  416. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__)
  417. ; } while (0)
  418. | ^~~~~~~~~~~
  419. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:565:31: note: format string is d
  420. efined here
  421. 565 | CL("tilt X=%d Z=%d type=%d", (int)c0.tiltAngleX, (int)c0.tiltAngleZ, (int)c0.groundType);
  422. | ^
  423. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:42: note: 'snprintf' output between 20 and 33 bytes into a destination of size 32
  424. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__); } while (0)
  425. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  426. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:565:5: note: in expansion of mac
  427. ro 'CL'
  428. 565 | CL("tilt X=%d Z=%d type=%d", (int)c0.tiltAngleX, (int)c0.tiltAngleZ, (int)c0.groundType);
  429. | ^~
  430. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:596:8: warning: ' h=' directive
  431. output may be truncated writing 3 bytes into a region of size between 1 and 16 [-Wformat-truncation=
  432. ]
  433. 596 | CL("cylOff=(%d,%d) r=%d h=%d",
  434. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  435. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:81: note: in definition of macro 'CL'
  436. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__); } while (0)
  437. | ^~~~~~~~~~~
  438. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:596:28: note: format string is d
  439. efined here
  440. 596 | CL("cylOff=(%d,%d) r=%d h=%d",
  441. | ^~~
  442. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:596:8: note: directive argument
  443. in the range [-32768, 32767]
  444. 596 | CL("cylOff=(%d,%d) r=%d h=%d",
  445. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  446. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:81: note: in definition of m
  447. acro 'CL'
  448. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__); } while (0)
  449. | ^~~~~~~~~~~
  450. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:544:42: note: 'snprintf' output between 21 and 41 bytes into a destination of size 32
  451. 544 | #define CL(...) do { if (n < COLL_LINES) snprintf(s_coll_lines[n++], COLL_COLS, __VA_ARGS__)
  452. ; } while (0)
  453. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  454. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/dbg_overlay.c:596:5: note: in expansion of mac
  455. ro 'CL'
  456. 596 | CL("cylOff=(%d,%d) r=%d h=%d",
  457. | ^~
  458. [23/596] Building C object CMakeFiles/SilentHillPC.dir/src/incubator_anim_infos.c.obj
  459. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  460. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  461. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/incubator_anim_infos.c:7:
  462. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  463. clared inside parameter list will not be visible outside of this definition or declaration
  464. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  465. NATE2* boneCoords, struct _AnimInfo* animInfo);
  466. | ^~~~~~
  467. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  468. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  469. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  470. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  471. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  472. 2 | #define _BODYPROG_FORMATS_ANM_H
  473. [24/596] Building C object CMakeFiles/SilentHillPC.dir/src/incubus_anim_infos.c.obj
  474. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  475. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  476. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/incubus_anim_infos.c:7:
  477. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  478. clared inside parameter list will not be visible outside of this definition or declaration
  479. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  480. | ^~~~~~
  481. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  482. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  483. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  484. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  485. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  486. 2 | #define _BODYPROG_FORMATS_ANM_H
  487. [25/596] Building C object CMakeFiles/SilentHillPC.dir/src/kaufmann_anim_infos.c.obj
  488. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  489. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  490. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/kaufmann_anim_infos.c:9:
  491. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  492. clared inside parameter list will not be visible outside of this definition or declaration
  493. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  494. | ^~~~~~
  495. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  496. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  497. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  498. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  499. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  500. 2 | #define _BODYPROG_FORMATS_ANM_H
  501. [26/596] Building C object CMakeFiles/SilentHillPC.dir/src/lisa_anim_infos.c.obj
  502. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  503. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  504. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/lisa_anim_infos.c:9:
  505. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  506. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  507. | ^~~~~~
  508. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  509. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  510. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  511. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  512. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  513. 2 | #define _BODYPROG_FORMATS_ANM_H
  514. [27/596] Building C object CMakeFiles/SilentHillPC.dir/src/larval_stalker_anim_infos.c.obj
  515. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  516. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  517. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/larval_stalker_anim_infos.c:9:
  518. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  519. clared inside parameter list will not be visible outside of this definition or declaration
  520. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  521. | ^~~~~~
  522. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  523. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  524. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  525. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  526. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  527. 2 | #define _BODYPROG_FORMATS_ANM_H
  528. [28/596] Building C object CMakeFiles/SilentHillPC.dir/src/ipd_reformat.c.obj
  529. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  530. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/ipd_reformat.c:27:
  531. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  532. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  533. NATE2* boneCoords, struct _AnimInfo* animInfo);
  534. | ^~~~~~
  535. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  536. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/ipd_reformat.c:33:
  537. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  538. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  539. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  540. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  541. 2 | #define _BODYPROG_FORMATS_ANM_H
  542. [29/596] Building C object CMakeFiles/SilentHillPC.dir/src/little_incubus_anim_infos.c.obj
  543. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  544. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  545. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/little_incubus_anim_infos.c:7:
  546. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  547. clared inside parameter list will not be visible outside of this definition or declaration
  548. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  549. NATE2* boneCoords, struct _AnimInfo* animInfo);
  550. | ^~~~~~
  551. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  552. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  553. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  554. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  555. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  556. 2 | #define _BODYPROG_FORMATS_ANM_H
  557. [31/596] Building C object CMakeFiles/SilentHillPC.dir/src/lm_reformat.c.obj
  558. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  559. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/lm_reformat.c:18:
  560. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  561. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  562. NATE2* boneCoords, struct _AnimInfo* animInfo);
  563. | ^~~~~~
  564. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  565. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/lm_reformat.c:24:
  566. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  567. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  568. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  569. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  570. 2 | #define _BODYPROG_FORMATS_ANM_H
  571. [32/596] Building C object CMakeFiles/SilentHillPC.dir/src/locker_dead_body_anim_infos.c.obj
  572. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  573. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  574. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/locker_dead_body_anim_in
  575. fos.c:7:
  576. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  577. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  578. | ^~~~~~
  579. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  580. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  581. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  582. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  583. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  584. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  585. 2 | #define _BODYPROG_FORMATS_ANM_H
  586. [33/596] Building C object CMakeFiles/SilentHillPC.dir/src/map_overlay_loader.c.obj
  587. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  588. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/map_overlay_loader.h:16,
  589. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/map_overlay_loader.c:7:
  590. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  591. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  592. NATE2* boneCoords, struct _AnimInfo* animInfo);
  593. | ^~~~~~
  594. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  595. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/map_overlay_loader.h:17:
  596. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  597. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  598. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  599. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  600. 2 | #define _BODYPROG_FORMATS_ANM_H
  601. [34/596] Building C object CMakeFiles/SilentHillPC.dir/src/map_registry.c.obj
  602. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  603. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  604. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/map_registry.h:4,
  605. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/map_registry.c:1:
  606. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  607. clared inside parameter list will not be visible outside of this definition or declaration
  608. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  609. NATE2* boneCoords, struct _AnimInfo* animInfo);
  610. | ^~~~~~
  611. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  612. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  613. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  614. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  615. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  616. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  617. 2 | #define _BODYPROG_FORMATS_ANM_H
  618. [35/596] Building C object CMakeFiles/SilentHillPC.dir/src/math_impl.c.obj
  619. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  620. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/math_impl.c:10:
  621. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  622. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  623. | ^~~~~~
  624. [36/596] Building C object CMakeFiles/SilentHillPC.dir/src/monster_cybil_anim_infos.c.obj
  625. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  626. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  627. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/monster_cybil_anim_infos.c:7:
  628. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  629. clared inside parameter list will not be visible outside of this definition or declaration
  630. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  631. | ^~~~~~
  632. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  633. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  634. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  635. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  636. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  637. 2 | #define _BODYPROG_FORMATS_ANM_H
  638. [37/596] Building C object CMakeFiles/SilentHillPC.dir/src/parasite_anim_infos.c.obj
  639. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  640. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  641. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/parasite_anim_infos.c:7:
  642. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  643. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  644. | ^~~~~~
  645. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  646. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  647. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  648. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  649. 2 | #define _BODYPROG_FORMATS_ANM_H
  650. [39/596] Building C object CMakeFiles/SilentHillPC.dir/src/pc_crosshair.c.obj
  651. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  652. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_crosshair.c:6:
  653. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  654. clared inside parameter list will not be visible outside of this definition or declaration
  655. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  656. NATE2* boneCoords, struct _AnimInfo* animInfo);
  657. | ^~~~~~
  658. [40/596] Building C object psycross/CMakeFiles/psycross_static.dir/src/psx/libpad.c.obj
  659. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libpad.c:7:
  660. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/include/PsyX/PsyX_public.h:184:56: warning: 'struct _RECT16' declared inside parameter list will not be visible outside of this definition or
  661. declaration
  662. 184 | extern void PsyX_GetPSXWidescreenMappedViewport(struct _RECT16* rect);
  663. | ^~~~~~~
  664. [41/596] Building C object CMakeFiles/SilentHillPC.dir/src/pc_timing.c.obj
  665. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  666. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_timing.c:1:
  667. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  668. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  669. | ^~~~~~
  670. [43/596] Building C object CMakeFiles/SilentHillPC.dir/src/control_style.c.obj
  671. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  672. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/control_style.c:8:
  673. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  674. clared inside parameter list will not be visible outside of this definition or declaration
  675. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  676. NATE2* boneCoords, struct _AnimInfo* animInfo);
  677. | ^~~~~~
  678. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  679. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/control_style.c:9:
  680. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  681. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  682. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  683. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  684. 2 | #define _BODYPROG_FORMATS_ANM_H
  685. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/control_style.c: In function 'Pc_ControlStyleU
  686. pdate':
  687. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/control_style.c:179:21: warning: the compariso
  688. n will always evaluate as 'true' for the address of 'padChangeCam' will never be NULL [-Waddress]
  689. 179 | scPad = (g_PcConfig.padChangeCam && g_PcConfig.padChangeCam[0])
  690. | ^~~~~~~~~~
  691. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/control_style.c:12:
  692. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/pc_config.h:83:28: note: 'padChangeCam' de
  693. clared here
  694. 83 | char keyChangeCam[24], padChangeCam[24]; /* PC-only: Change Camera (cycle control style)
  695. */
  696. | ^~~~~~~~~~~~
  697. [44/596] Building C object psycross/CMakeFiles/psycross_static.dir/src/psx/libetc.c.obj
  698. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libetc.c:4:
  699. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/include/PsyX/PsyX_public.h:184:56: warnin
  700. g: 'struct _RECT16' declared inside parameter list will not be visible outside of this definition or declaration
  701. 184 | extern void PsyX_GetPSXWidescreenMappedViewport(struct _RECT16* rect);
  702. | ^~~~~~~
  703. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libetc.c: In function 'ResetCallb
  704. ack':
  705. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libetc.c:26:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  706. 26 | int old = (int)vsync_callback;
  707. | ^
  708. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libetc.c: In function 'VSyncCallback':
  709. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/psx/libetc.c:53:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  710. 53 | int old = (int)vsync_callback;
  711. | ^
  712. [45/596] Building C object CMakeFiles/SilentHillPC.dir/src/pc_console_cmd.c.obj
  713. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  714. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_console_cmd.c:17:
  715. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  716. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  717. | ^~~~~~
  718. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  719. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_console_cmd.c:18:
  720. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  721. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  722. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  723. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  724. 2 | #define _BODYPROG_FORMATS_ANM_H
  725. [47/596] Building C object CMakeFiles/SilentHillPC.dir/src/puppet_nurse_data.c.obj
  726. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  727. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  728. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/puppet_nurse_data.c:30:
  729. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  730. clared inside parameter list will not be visible outside of this definition or declaration
  731. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  732. NATE2* boneCoords, struct _AnimInfo* animInfo);
  733. | ^~~~~~
  734. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  735. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  736. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  737. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  738. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  739. 2 | #define _BODYPROG_FORMATS_ANM_H
  740. [48/596] Building C object CMakeFiles/SilentHillPC.dir/src/romper_anim_infos.c.obj
  741. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  742. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  743. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/romper_anim_infos.c:17:
  744. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  745. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  746. | ^~~~~~
  747. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  748. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  749. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  750. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  751. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  752. 2 | #define _BODYPROG_FORMATS_ANM_H
  753. [50/596] Building C object CMakeFiles/SilentHillPC.dir/src/split_head_anim_infos.c.obj
  754. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  755. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  756. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/split_head_anim_infos.c:
  757. 15:
  758. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  759. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  760. | ^~~~~~
  761. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  762. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  763. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  764. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  765. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  766. 2 | #define _BODYPROG_FORMATS_ANM_H
  767. [52/596] Building C object CMakeFiles/SilentHillPC.dir/src/unkkown_23_anim_infos.c.obj
  768. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  769. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  770. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/unkkown_23_anim_infos.c:
  771. 7:
  772. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  773. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  774. | ^~~~~~
  775. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  776. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  777. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  778. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  779. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  780. 2 | #define _BODYPROG_FORMATS_ANM_H
  781. [53/596] Building C object CMakeFiles/SilentHillPC.dir/src/twinfeeler_anim_infos.c.obj
  782. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  783. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  784. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/twinfeeler_anim_infos.c:
  785. 7:
  786. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  787. clared inside parameter list will not be visible outside of this definition or declaration
  788. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  789. NATE2* boneCoords, struct _AnimInfo* animInfo);
  790. | ^~~~~~
  791. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  792. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  793. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  794. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  795. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  796. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  797. 2 | #define _BODYPROG_FORMATS_ANM_H
  798. [54/596] Building C object CMakeFiles/SilentHillPC.dir/src/warning_screen.c.obj
  799. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  800. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/warning_screen.c:15:
  801. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  802. clared inside parameter list will not be visible outside of this definition or declaration
  803. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  804. | ^~~~~~
  805. [55/596] Building C object CMakeFiles/SilentHillPC.dir/src/main_pc.c.obj
  806. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  807. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:19:
  808. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  809. clared inside parameter list will not be visible outside of this definition or declaration
  810. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  811. | ^~~~~~
  812. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  813. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/map_registry.h:4,
  814. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:24:
  815. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  816. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  817. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  818. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  819. 2 | #define _BODYPROG_FORMATS_ANM_H
  820. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:21:
  821. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c: In function 'PcPort_GetGameDiscPath':
  822. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:52: warning: '%s' directive ou
  823. tput may be truncated writing up to 1023 bytes into a region of size 40 [-Wformat-truncation=]
  824. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  825. | ^~~~~~~
  826. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:389:13: note: in expansion of macro 'SH_LOG'
  827. 389 | SH_LOG("Disc autodetected: %s (region %s)", g_GameDiscPath,
  828. | ^~~~~~
  829. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:9: note: 'snprintf' output 38
  830. or more bytes (assuming 1061) into a destination of size 64
  831. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  832. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  833. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:389:13: note: in expansion of macro
  834. 'SH_LOG'
  835. 389 | SH_LOG("Disc autodetected: %s (region %s)", g_GameDiscPath,
  836. | ^~~~~~
  837. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:21:54: warning: '%s' directive ou
  838. tput may be truncated writing up to 511 bytes into a region of size 12 [-Wformat-truncation=]
  839. 21 | snprintf(_sh_warn_buf, sizeof(_sh_warn_buf), "[SH WARN] " fmt, ##__VA_ARGS__); \
  840. | ^~~~~~~~~~~~
  841. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:397:5: note: in expansion of macro '
  842. SH_WARN'
  843. 397 | SH_WARN("No Silent Hill disc image (.bin) found in %s", g_GameDataPath);
  844. | ^~~~~~~
  845. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:21:9: note: 'snprintf' output bet
  846. ween 53 and 564 bytes into a destination of size 64
  847. 21 | snprintf(_sh_warn_buf, sizeof(_sh_warn_buf), "[SH WARN] " fmt, ##__VA_ARGS__); \
  848. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  849. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:397:5: note: in expansion of macro 'SH_WARN'
  850. 397 | SH_WARN("No Silent Hill disc image (.bin) found in %s", g_GameDataPath);
  851. | ^~~~~~~
  852. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c: In function 'main':
  853. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 43 [-Wformat-truncation=]
  854. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  855. | ^~~~~~~
  856. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:532:5: note: in expansion of macro 'SH_LOG'
  857. 532 | SH_LOG("Game data path: %s", g_GameDataPath);
  858. | ^~~~~~
  859. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:9: note: 'snprintf' output bet
  860. ween 22 and 533 bytes into a destination of size 64
  861. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  862. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  863. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:532:5: note: in expansion of macro '
  864. SH_LOG'
  865. 532 | SH_LOG("Game data path: %s", g_GameDataPath);
  866. | ^~~~~~
  867. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:52: warning: '; flashlight size ' directive output truncated writing 18 bytes into a region of size between 0 and 4 [-Wformat-trun
  868. cation=]
  869. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  870. | ^~~~~~~
  871. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:785:9: note: in expansion of macro 'SH_LOG'
  872. 785 | SH_LOG("Effect intensity: flashlight %.2f, post %.2f, tonemap %.2f; flashlight size %.2f",
  873. | ^~~~~~
  874. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:52: note: assuming directive o
  875. utput of 4 bytes
  876. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:785:9: note: in expansion of macro '
  877. SH_LOG'
  878. 785 | SH_LOG("Effect intensity: flashlight %.2f, post %.2f, tonemap %.2f; flashlight size
  879. %.2f",
  880. | ^~~~~~
  881. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:9: note: 'snprintf' output between 82 and 1322 bytes into a destination of size 64
  882. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  883. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  884. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:785:9: note: in expansion of macro 'SH_LOG'
  885. 785 | SH_LOG("Effect intensity: flashlight %.2f, post %.2f, tonemap %.2f; flashlight size %.2f",
  886. | ^~~~~~
  887. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:21:54: warning: '[SH WARN] Game w
  888. ill not be a...' directive output truncated writing 68 bytes into a region of size 64 [-Wformat-truncation=]
  889. 21 | snprintf(_sh_warn_buf, sizeof(_sh_warn_buf), "[SH WARN] " fmt, ##__VA_ARGS__); \
  890. | ^~~~~~~~~~~~
  891. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:814:13: note: in expansion of macro 'SH_WARN'
  892. 814 | SH_WARN("Game will not be able to load assets without a disc image.");
  893. | ^~~~~~~
  894. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:21:9: note: 'snprintf' output 69 bytes into a destination of size 64
  895. 21 | snprintf(_sh_warn_buf, sizeof(_sh_warn_buf), "[SH WARN] " fmt, ##__VA_ARGS__); \
  896. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  897. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:814:13: note: in expansion of macro
  898. 'SH_WARN'
  899. 814 | SH_WARN("Game will not be able to load assets without a disc image.");
  900. | ^~~~~~~
  901. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:52: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 47 [-Wformat-truncation=]
  902. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  903. | ^~~~~~~
  904. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:837:5: note: in expansion of macro '
  905. SH_LOG'
  906. 837 | SH_LOG("Active map: %s", g_PcConfig.mapName);
  907. | ^~~~~~
  908. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/include/sh_log.h:13:9: note: 'snprintf' output bet
  909. ween 18 and 81 bytes into a destination of size 64
  910. 13 | snprintf(_sh_log_buf, sizeof(_sh_log_buf), "[SH] " fmt, ##__VA_ARGS__); \
  911. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  912. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/main_pc.c:837:5: note: in expansion of macro '
  913. SH_LOG'
  914. 837 | SH_LOG("Active map: %s", g_PcConfig.mapName);
  915. | ^~~~~~
  916. [57/596] Building C object CMakeFiles/SilentHillPC.dir/src/pc_combat.c.obj
  917. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  918. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_combat.c:2:
  919. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  920. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  921. | ^~~~~~
  922. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  923. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_combat.c:3:
  924. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  925. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  926. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  927. 2 | #define _BODYPROG_FORMATS_ANM_H
  928. [58/596] Building C object CMakeFiles/SilentHillPC.dir/src/xa_player.c.obj
  929. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c:33:22: warning: '/*' within comment [-Wcomment]
  930. 33 | * of disc_extract/XA/*.xa (which are pre-extracted disc sectors with the
  931. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c: In function 'DecodeXaSector':
  932. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c:269:13: warning: this 'if' clause
  933. does not guard... [-Wmisleading-indentation]
  934. 269 | if (lv < lMin) lMin = lv; if (lv > lMax) lMax = lv;
  935. | ^~
  936. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c:269:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  937. 269 | if (lv < lMin) lMin = lv; if (lv > lMax) lMax = lv;
  938. | ^~
  939. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c:270:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  940. 270 | if (rv < rMin) rMin = rv; if (rv > rMax) rMax = rv;
  941. | ^~
  942. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c:270:39: note: ...this statement, b
  943. ut the latter is misleadingly indented as if it were guarded by the 'if'
  944. 270 | if (rv < rMin) rMin = rv; if (rv > rMax) rMax = rv;
  945. | ^~
  946. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c:266:27: warning: variable 'rSum' s
  947. et but not used [-Wunused-but-set-variable=]
  948. 266 | long long lSum=0, rSum=0;
  949. | ^~~~
  950. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/xa_player.c:266:19: warning: variable 'lSum' set but not used [-Wunused-but-set-variable=]
  951. 266 | long long lSum=0, rSum=0;
  952. | ^~~~
  953. [60/596] Building C object CMakeFiles/SilentHill...sktop/silent-hill-decomp/src/main/fsqueue_1.c.ob
  954. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  955. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  956. from C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_1.c:6:
  957. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  958. clared inside parameter list will not be visible outside of this definition or declaration
  959. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  960. NATE2* boneCoords, struct _AnimInfo* animInfo);
  961. | ^~~~~~
  962. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  963. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  964. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  965. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  966. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  967. 2 | #define _BODYPROG_FORMATS_ANM_H
  968. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_1.c: In function 'Fs_QueueInitialize':
  969. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_1.c:194:5: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  970. 194 | bzero(&g_FsQueue, sizeof(g_FsQueue));
  971. | ^~~~~
  972. [61/596] Building C object CMakeFiles/SilentHillPC.dir/src/pc_quicksave.c.obj
  973. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  974. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_quicksave.c:7:
  975. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  976. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  977. | ^~~~~~
  978. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  979. from C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/src/pc_quicksave.c:8:
  980. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  981. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  982. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  983. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  984. 2 | #define _BODYPROG_FORMATS_ANM_H
  985. [62/596] Building C object CMakeFiles/SilentHill...sktop/silent-hill-decomp/src/main/fsqueue_3.c.ob
  986. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  987. from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:4,
  988. from C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_3.c:5:
  989. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  990. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  991. | ^~~~~~
  992. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16:
  993. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  994. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  995. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  996. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  997. 2 | #define _BODYPROG_FORMATS_ANM_H
  998. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_3.c: In function 'Fs_QueueTickReadPcDrv':
  999. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_3.c:437:18: warning: implicit declaration of function 'open'; did you mean 'fopen'? [-Wimplicit-function-declaration]
  1000. 437 | handle = open(pathBuf, O_NOBUF | O_RDONLY);
  1001. | ^~~~
  1002. | fopen
  1003. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_3.c:443:16: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
  1004. 443 | temp = read(handle,entry->data, ALIGN(file->blockCount * FS_BLOCK_SIZE, FS_SECTOR_SIZE));
  1005. | ^~~~
  1006. | fread
  1007. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_3.c:451:20: warning: implicit declaration of function 'close'; did you mean 'fclose'? [-Wimplicit-function-declaration]
  1008. 451 | temp = close(handle);
  1009. | ^~~~~
  1010. | fclose
  1011. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_3.c: In function 'Fs_QueuePostLoadAnm':
  1012. C:/Users/soyal/Desktop/silent-hill-decomp/src/main/fsqueue_3.c:678:5: warning: implicit declaration of function 'Fs_CharaAnimDataUpdate'; did you mean 'Chara_AnimUpdate'? [-Wimplicit-function-declarat
  1013. ion]
  1014. 678 | Fs_CharaAnimDataUpdate(entry->extra.anm.field_0, entry->extra.anm.charaId, entry->extern
  1015. alData, entry->extra.anm.coords_8);
  1016. | ^~~~~~~~~~~~~~~~~~~~~~
  1017. | Chara_AnimUpdate
  1018. [64/596] Building C object CMakeFiles/SilentHill...op/silent-hill-decomp/src/bodyprog/3d_audio.c.ob
  1019. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1020. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/3d_audio.c:1:
  1021. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1022. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1023. | ^~~~~~
  1024. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1025. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/3d_audio.c:8:
  1026. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1027. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1028. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1029. 2 | #define _BODYPROG_FORMATS_ANM_H
  1030. [65/596] Building C object CMakeFiles/SilentHill...op/silent-hill-decomp/src/bodyprog/bodyprog.c.ob
  1031. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1032. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog.c:1:
  1033. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1034. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1035. | ^~~~~~
  1036. [66/596] Building CXX object psycross/CMakeFiles/psycross_static.dir/src/gpu/PsyX_GPU.cpp.obj
  1037. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/gpu/PsyX_GPU.cpp:1338:33: warning: missing terminating " character
  1038. 1338 | eprintf("X: %d Y: %d
  1039. | ^
  1040. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/gpu/PsyX_GPU.cpp:1339:1: warning: mis
  1041. sing terminating " character
  1042. 1339 | ", vert->x, vert->y);
  1043. | ^
  1044. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/gpu/PsyX_GPU.cpp:1340:33: warning: mi
  1045. ssing terminating " character
  1046. 1340 | eprintf("U: %d V: %d
  1047. | ^
  1048. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/gpu/PsyX_GPU.cpp:1341:1: warning: missing terminating " character
  1049. 1341 | ", vert->u, vert->v);
  1050. | ^
  1051. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/gpu/PsyX_GPU.cpp:1342:33: warning: mi
  1052. ssing terminating " character
  1053. 1342 | eprintf("TP: %d CLT: %d
  1054. | ^
  1055. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/gpu/PsyX_GPU.cpp:1343:1: warning: mis
  1056. sing terminating " character
  1057. 1343 | ", vert->page, vert->clut);
  1058. | ^
  1059. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/gpu/PsyX_GPU.cpp:111:16: warning: 'g_
  1060. PsyX_NoShadowCast' initialized and declared 'extern'
  1061. 111 | extern "C" int g_PsyX_NoShadowCast = 0;
  1062. | ^~~~~~~~~~~~~~~~~~~
  1063. [67/596] Building C object CMakeFiles/SilentHill...-hill-decomp/src/bodyprog/bodyprog_800881B8.c.ob
  1064. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1065. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_800881B8.c:1:
  1066. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1067. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1068. | ^~~~~~
  1069. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1070. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_800881B8.c:7:
  1071. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1072. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1073. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  1074. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1075. 2 | #define _BODYPROG_FORMATS_ANM_H
  1076. [68/596] Building C object CMakeFiles/SilentHill...-hill-decomp/src/bodyprog/bodyprog_8005E0DC.c.ob
  1077. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1078. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_8005E0DC.c:1:
  1079. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1080. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1081. | ^~~~~~
  1082. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1083. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_8005E0DC.c:8:
  1084. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  1085. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1086. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1087. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  1088. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1089. 2 | #define _BODYPROG_FORMATS_ANM_H
  1090. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_8005E0DC.c: In function 'Map_EffectT
  1091. exturesLoad':
  1092. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_8005E0DC.c:47:16: warning: variable
  1093. 'loadedEffectTextureFlags' set but not used [-Wunused-but-set-variable=]
  1094. 47 | static u16 loadedEffectTextureFlags;
  1095. | ^~~~~~~~~~~~~~~~~~~~~~~~
  1096. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_8005E0DC.c: In function 'func_800627
  1097. 08':
  1098. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_8005E0DC.c:2025:35: warning: compari
  1099. son between pointer and integer
  1100. 2025 | if (*g_MapOverlayHdr.data_190 != NULL)
  1101. | ^~
  1102. [69/596] Building C object CMakeFiles/SilentHill...-hill-decomp/src/bodyprog/bodyprog_800652F4.c.ob
  1103. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1104. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_800652F4.c:1:
  1105. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1106. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1107. | ^~~~~~
  1108. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1109. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_800652F4.c:8:
  1110. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_
  1111. BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1112. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1113. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1114. 2 | #define _BODYPROG_FORMATS_ANM_H
  1115. [70/596] Building C object CMakeFiles/SilentHill...-hill-decomp/src/bodyprog/bodyprog_80089090.c.ob
  1116. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1117. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c:1:
  1118. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  1119. clared inside parameter list will not be visible outside of this definition or declaration
  1120. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  1121. NATE2* boneCoords, struct _AnimInfo* animInfo);
  1122. | ^~~~~~
  1123. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1124. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c:7:
  1125. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1126. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1127. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1128. 2 | #define _BODYPROG_FORMATS_ANM_H
  1129. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c: In function 'func_800890
  1130. B8':
  1131. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c:34:5: warning: implicit d
  1132. eclaration of function 'func_8009E198'; did you mean 'func_8003E194'? [-Wimplicit-function-declaration]
  1133. 34 | func_8009E198(&g_SysWork.field_2514, 0);
  1134. | ^~~~~~~~~~~~~
  1135. | func_8003E194
  1136. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c: In function 'func_8008973C':
  1137. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c:523:105: warning: passing
  1138. argument 3 of 'func_8008989C' makes pointer from integer without a cast [-Wint-conversion]
  1139. 523 | func_8008989C(arg0, ptr->field_4.func_8008973C_data.field_6, ptr->field_4.func_8008973C_data.field_C);
  1140. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
  1141. |
  1142. |
  1143. |
  1144. u32 {aka unsigned int}
  1145. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:1857:58: note: expected 's32 (
  1146. *)(u16, s32)' {aka 'int (*)(short unsigned int, int)'} but argument is of type 'u32' {aka 'unsigned int'}
  1147. 1857 | void func_8008989C(s_SysWork_2514* arg0, u16 arg1, s32 (*arg2)(u16, s32));
  1148. | ~~~~~~^~~~~~~~~~~~~~~
  1149. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c:527:105: warning: passing argument 3 of 'func_8008992C' makes pointer from integer without a cast [-Wint-conversion]
  1150. 527 | func_8008992C(arg0, ptr->field_4.func_8008973C_data.field_6, ptr->field_4.func_8008973C_data.field_C);
  1151. | ~~~~~~~~~~~~~~~~~~~
  1152. ~~~~~~~~~~~~^~~~~~~~
  1153. |
  1154. |
  1155. |
  1156. u32 {aka unsigned int}
  1157. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:1859:58: note: expected 's32 (*)(u16, s32)' {aka 'int (*)(short unsigned int, int)'} but argument is of type 'u32' {aka 'unsigned int'}
  1158. 1859 | void func_8008992C(s_SysWork_2514* arg0, u16 arg1, s32 (*arg2)(u16, s32));
  1159. | ~~~~~~^~~~~~~~~~~~~~~
  1160. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c: In function 'func_80089A30':
  1161. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80089090.c:695:45: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  1162. 695 | if ((ptr == NULL || current != ptr) && current->field_C == temp_s3)
  1163. | ^~
  1164. [71/596] Building C object CMakeFiles/SilentHill...-hill-decomp/src/bodyprog/bodyprog_80085D78.c.ob
  1165. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1166. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c:1:
  1167. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  1168. clared inside parameter list will not be visible outside of this definition or declaration
  1169. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  1170. NATE2* boneCoords, struct _AnimInfo* animInfo);
  1171. | ^~~~~~
  1172. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1173. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c:12:
  1174. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1175. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1176. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1177. 2 | #define _BODYPROG_FORMATS_ANM_H
  1178. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c: In function 'PaperMap_Re
  1179. uploadTimToVram_PC':
  1180. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c:63:15: warning: variable 'magic' set but not used [-Wunused-but-set-variable=]
  1181. 63 | u_char magic;
  1182. | ^~~~~
  1183. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c: In function 'func_80085DF0':
  1184. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c:182:49: warning: comparison between pointer and integer
  1185. 182 | if (g_MapOverlayHdr.playerMoveSpeedIsZero() != NULL || g_SysWork.timer_2C > Q12(1.0f))
  1186. | ^~
  1187. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c: In function 'SysWork_StateStepIncrementAfterFade':
  1188. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c:341:7: warning: typedef 's_FadeType' locally defined but not used [-Wunused-local-typedefs]
  1189. 341 | } s_FadeType;
  1190. | ^~~~~~~~~~
  1191. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c: In function 'Map_MessageWithSfx':
  1192. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_80085D78.c:953:13: warning: implicit declaration of function 'func_8005DC1C'; did you mean 'func_8005D50C'? [-Wimplicit-function-declara
  1193. tion]
  1194. 953 | func_8005DC1C(sfxId, sfxPos, Q8(0.5f), 0);
  1195. | ^~~~~~~~~~~~~
  1196. | func_8005D50C
  1197. [72/596] Building C object CMakeFiles/SilentHill...l-decomp/src/bodyprog/bodyprog_bgm_80087EA8.c.ob
  1198. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1199. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_bgm_80087EA8.c:1:
  1200. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  1201. clared inside parameter list will not be visible outside of this definition or declaration
  1202. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1203. | ^~~~~~
  1204. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1205. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_bgm_80087EA8.c:7:
  1206. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1207. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1208. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  1209. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1210. 2 | #define _BODYPROG_FORMATS_ANM_H
  1211. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_bgm_80087EA8.c: In function 'Bgm_PlayNewTrack':
  1212. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_bgm_80087EA8.c:21:10: warning: impli
  1213. cit declaration of function 'Bgm_ActiveBgmTrackCheck' [-Wimplicit-function-declaration]
  1214. 21 | if (!Bgm_ActiveBgmTrackCheck(bgmIdx))
  1215. | ^~~~~~~~~~~~~~~~~~~~~~~
  1216. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_bgm_80087EA8.c:26:5: warning: implicit declaration of function 'Bgm_TrackSet'; did you mean 'Bgm_TrackUpdate'? [-Wimplicit-function-decl
  1217. aration]
  1218. 26 | Bgm_TrackSet(bgmIdx);
  1219. | ^~~~~~~~~~~~
  1220. | Bgm_TrackUpdate
  1221. [73/596] Building C object CMakeFiles/SilentHill...ecomp/src/bodyprog/bodyprog_combat_8005BF38.c.ob
  1222. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1223. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8005BF38.c:1:
  1224. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  1225. clared inside parameter list will not be visible outside of this definition or declaration
  1226. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1227. | ^~~~~~
  1228. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1229. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8005BF38.c:8:
  1230. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1231. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1232. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  1233. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1234. 2 | #define _BODYPROG_FORMATS_ANM_H
  1235. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8005BF38.c: In function 'func_8005CD38':
  1236. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8005BF38.c:357:57: warning: i
  1237. mplicit declaration of function 'abs' [-Wimplicit-function-declaration]
  1238. 357 | if (SQUARE(spA8[var_s2] >> 6) * abs(sp98[var_s2]) > SQUARE(spA8[var_
  1239. t0] >> 6) * abs(sp98[var_t0]))
  1240. | ^~~
  1241. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8005BF38.c:16:1: note: includ
  1242. e '<stdlib.h>' or provide a declaration of 'abs'
  1243. 15 | #include "main/rng.h"
  1244. +++ |+#include <stdlib.h>
  1245. 16 |
  1246. [74/596] Building C object CMakeFiles/SilentHill...-decomp/src/bodyprog/bodyprog_data_80028B94.c.ob
  1247. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1248. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_data_80028B94.c:1:
  1249. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1250. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1251. | ^~~~~~
  1252. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1253. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_data_80028B94.c:8:
  1254. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1255. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1256. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1257. 2 | #define _BODYPROG_FORMATS_ANM_H
  1258. [75/596] Building C object CMakeFiles/SilentHill...mp/src/bodyprog/bodyprog_mapscreen_80066EB0.c.ob
  1259. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1260. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_mapscreen_80066EB0.c:1:
  1261. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1262. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1263. | ^~~~~~
  1264. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1265. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_mapscreen_80066EB0.c:8:
  1266. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1267. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1268. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1269. 2 | #define _BODYPROG_FORMATS_ANM_H
  1270. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_mapscreen_80066EB0.c: In function 'func_80066D90':
  1271. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_mapscreen_80066EB0.c:38:9: warning: implicit declaration of function 'VSync' [-Wimplicit-function-declaration]
  1272. 38 | VSync(SyncMode_Wait);
  1273. | ^~~~~
  1274. [76/596] Building C object CMakeFiles/SilentHill...-decomp/src/bodyprog/bodyprog_math_8005BF38.c.ob
  1275. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1276. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_math_8005BF38.c:1:
  1277. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' declared inside parameter list will not be visible outside of this definition or declaration
  1278. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDINATE2* boneCoords, struct _AnimInfo* animInfo);
  1279. | ^~~~~~
  1280. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1281. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_math_8005BF38.c:8:
  1282. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1283. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1284. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS
  1285. _ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1286. 2 | #define _BODYPROG_FORMATS_ANM_H
  1287. [77/596] Building C object CMakeFiles/SilentHill...ecomp/src/bodyprog/bodyprog_combat_8008A058.c.ob
  1288. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/game.h:9,
  1289. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8008A058.c:1:
  1290. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/anim.h:26:43: warning: 'struct _Model' de
  1291. clared inside parameter list will not be visible outside of this definition or declaration
  1292. 26 | /* 0x0 */ void (*playbackFunc)(struct _Model* model, struct _AnmHeader* anmHdr, GsCOORDI
  1293. NATE2* boneCoords, struct _AnimInfo* animInfo);
  1294. | ^~~~~~
  1295. In file included from C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/bodyprog.h:16,
  1296. from C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8008A05
  1297. 8.c:10:
  1298. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:1: warning: header guard '_BODYPROG_FORMATS_TMD_H' followed by '#define' of a different macro [-Wheader-guard]
  1299. 1 | #ifndef _BODYPROG_FORMATS_TMD_H
  1300. C:/Users/soyal/Desktop/silent-hill-decomp/include/bodyprog/formats/tmd.h:2: note: '_BODYPROG_FORMATS_ANM_H' is defined here; did you mean '_BODYPROG_FORMATS_TMD_H'?
  1301. 2 | #define _BODYPROG_FORMATS_ANM_H
  1302. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8008A058.c: In function 'func_8008A3E0':
  1303. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8008A058.c:978:21: warning: implicit declaration of function 'func_8009151C'; did you mean 'func_8008150C'? [-Wimplicit-function-declaration]
  1304. 978 | func_8009151C(var_s0_2, chara->field_44.field_8 != 0, func_8007FD2C());
  1305. | ^~~~~~~~~~~~~
  1306. | func_8008150C
  1307. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8008A058.c: In function 'func
  1308. _8008B474':
  1309. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8008A058.c:1199:13: warning:
  1310. implicit declaration of function 'func_8005DC1C'; did you mean 'func_8005D50C'? [-Wimplicit-function-declaration]
  1311. 1199 | func_8005DC1C(sfxId, &g_SysWork.playerWork.player.position, FP_FROM(unkVol - Q12
  1312. (256.0f), Q12_SHIFT), soundType);
  1313. | ^~~~~~~~~~~~~
  1314. | func_8005D50C
  1315. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/bodyprog_combat_8008A058.c:1210:13: warning: implicit declaration of function 'func_8005DC3C'; did you mean 'func_80055C3C'? [-Wimplicit-function
  1316. -declaration]
  1317. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/events/game_sys_states.c:985:5: warning: implicit declaration of function 'Chara_PositionSet'; did you mean 'Chara_CollisionSet'? [-Wimplicit-function-declaration]
  1318. 985 | Chara_PositionSet(&D_800BCDB0);
  1319. | ^~~~~~~~~~~~~~~~~
  1320. | Chara_CollisionSet
  1321. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/events/game_sys_states.c: In function 'SysState_SaveMenu_Update':
  1322. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/events/game_sys_states.c:1101:5: warning: implicit declaration of function 'func_80033548'; did you mean 'func_8003E544'? [-Wimplicit-function-declaration]
  1323. 1101 | func_80033548();
  1324. | ^~~~~~~~~~~~~
  1325. | func_8003E544
  1326. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/events/game_sys_states.c: In function 'SysState_GameOver_Update':
  1327. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/events/game_sys_states.c:1301:13: warning: implicit declaration of function 'SysWork_StateStepIncrementAfterFade'; did you mean 'SysWork_StateStepIncrement'? [-Wimplicit-function-declaration]
  1328. 1301 | SysWork_StateStepIncrementAfterFade(2, true, 0, Q12(0.5f), false);
  1329. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1330. | SysWork_StateStepIncrement
  1331. C:/Users/soyal/Desktop/silent-hill-decomp/src/bodyprog/events/game_sys_states.c:1343:13: warning: implicit declaration of function 'Screen_BackgroundImgDraw' [-Wimplicit-function-declaration]
  1332. 1343 | Screen_BackgroundImgDraw(&g_DeathTipImg);
  1333. | ^~~~~~~~~~~~~~~~~~~~~~~~
  1334. [99/596] Building CXX object psycross/CMakeFiles/psycross_static.dir/src/PsyX_main.cpp.obj
  1335. C:/Users/soyal/Desktop/silent-hill-decomp/pc_port/PsyCross/src/PsyX_main.cpp:968:19: warning: 'g_PsyX_PostCaptureHook' initialized and declared 'extern'
  1336. 968 | extern "C" void (*g_PsyX_PostCaptureHook)(void) = NULL;
  1337. | ^~~~~~~~~~~~~~~~~~~~~~
  1338. ninja: build stopped: subcommand failed.
  1339.  
  1340. soyal@DESKTOP-VU1JM92 MINGW64 /c/Users/soyal/Desktop/silent-hill-decomp/pc_port
  1341. $
  1342.  
Advertisement
Add Comment
Please, Sign In to add comment