Advertisement
Guest User

Untitled

a guest
Jan 11th, 2023
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.84 KB | None | 0 0
  1. ==> Starting build()...
  2. -- The C compiler identification is Clang 14.0.6
  3. -- The CXX compiler identification is Clang 14.0.6
  4. -- Detecting C compiler ABI info
  5. -- Detecting C compiler ABI info - done
  6. -- Check for working C compiler: /usr/bin/clang - skipped
  7. -- Detecting C compile features
  8. -- Detecting C compile features - done
  9. -- Detecting CXX compiler ABI info
  10. -- Detecting CXX compiler ABI info - done
  11. -- Check for working CXX compiler: /usr/bin/clang++ - skipped
  12. -- Detecting CXX compile features
  13. -- Detecting CXX compile features - done
  14. -- Performing Test NO_PIE_UPSTREAM
  15. -- Performing Test NO_PIE_UPSTREAM - Success
  16. -- Performing Test NO_PIE_PATCHED
  17. -- Performing Test NO_PIE_PATCHED - Success
  18. -- * Configuring Core
  19. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
  20. -- Checking for module 'avformat'
  21. -- Package 'avformat', required by 'virtual:world', not found
  22. -- Look for newer structure
  23. -- Checking for module 'libavformat'
  24. -- Found libavformat, version 59.27.100
  25. -- Found avformat include dirs: /usr/include
  26. -- Using FFMpeg dir parent as hint: /usr
  27. -- Found avformat libs: /usr/lib/libavformat.so
  28. -- found avformat: include /usr/include lib /usr/lib/libavformat.so
  29. -- Checking for module 'avcodec'
  30. -- Package 'avcodec', required by 'virtual:world', not found
  31. -- Look for newer structure
  32. -- Checking for module 'libavcodec'
  33. -- Found libavcodec, version 59.37.100
  34. -- Found avcodec include dirs: /usr/include
  35. -- Using FFMpeg dir parent as hint: /usr
  36. -- Found avcodec libs: /usr/lib/libavcodec.so
  37. -- found avcodec: include /usr/include lib /usr/lib/libavcodec.so
  38. -- Checking for module 'avutil'
  39. -- Package 'avutil', required by 'virtual:world', not found
  40. -- Look for newer structure
  41. -- Checking for module 'libavutil'
  42. -- Found libavutil, version 57.28.100
  43. -- Found avutil include dirs: /usr/include
  44. -- Using FFMpeg dir parent as hint: /usr
  45. -- Found avutil libs: /usr/lib/libavutil.so
  46. -- found avutil: include /usr/include lib /usr/lib/libavutil.so
  47. -- Checking for module 'swresample'
  48. -- Package 'swresample', required by 'virtual:world', not found
  49. -- Look for newer structure
  50. -- Checking for module 'libswresample'
  51. -- Found libswresample, version 4.7.100
  52. -- Found swresample include dirs: /usr/include
  53. -- Using FFMpeg dir parent as hint: /usr
  54. -- Found swresample libs: /usr/lib/libswresample.so
  55. -- found swresample: include /usr/include lib /usr/lib/libswresample.so
  56. -- /usr/lib/libavformat.so/usr/lib/libavcodec.so/usr/lib/libavutil.so/usr/lib/libswresample.so
  57. -- Found FFMPEG: /usr/lib/libavformat.so;/usr/lib/libavcodec.so;/usr/lib/libavutil.so;/usr/lib/libswresample.so
  58. -- Found LibArchive: /usr/lib/libarchive.so (found version "3.6.2")
  59. -- Building PCSXr on arch x86_64
  60. -- Targeting arch x86_64
  61. -- Autodetected x86_64 dynarec.
  62. -- * Configuring UI
  63. -- Checking for one of the modules 'glib-2.0'
  64. -- Found GLib: /usr/lib/libglib-2.0.so (found version "2.74.4")
  65. -- Checking for one of the modules 'gio-2.0'
  66. -- Checking for one of the modules 'gobject-2.0'
  67. -- Found GObject: /usr/lib/libgobject-2.0.so (found version "2.74.4")
  68. -- Found GIO: /usr/lib/libgio-2.0.so (found version "2.74.4")
  69. -- Checking for one of the modules 'atk'
  70. -- Found ATK: /usr/lib/libatk-1.0.so (found version "2.46.0")
  71. -- Checking for one of the modules 'gdk-3.0'
  72. -- Checking for one of the modules 'pango'
  73. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  74. -- Found GDK3: /usr/lib/libgdk-3.so (found version "3.24.36")
  75. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  76. -- Checking for one of the modules 'cairo'
  77. -- Found Cairo: /usr/lib/libcairo.so (found version "1.17.6")
  78. -- Checking for one of the modules 'gdk-pixbuf-2.0'
  79. -- Found GDKPixbuf: /usr/lib/libgdk_pixbuf-2.0.so (found version "")
  80. -- Found GTK3: /usr/lib/libgtk-3.so (found suitable version "3.24.36", minimum required is "3.14.0")
  81. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  82. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
  83. -- Found Threads: TRUE
  84. -- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")
  85. -- Found X11: /usr/include
  86. -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
  87. -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
  88. -- Looking for gethostbyname
  89. -- Looking for gethostbyname - found
  90. -- Looking for connect
  91. -- Looking for connect - found
  92. -- Looking for remove
  93. -- Looking for remove - found
  94. -- Looking for shmat
  95. -- Looking for shmat - found
  96. -- Looking for IceConnectionNumber in ICE
  97. -- Looking for IceConnectionNumber in ICE - found
  98. -- * Configuring translations
  99. -- * Configuring BladeSio1
  100. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  101. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  102. -- Found GTK3: /usr/lib/libgtk-3.so (found version "3.24.36")
  103. -- * Configuring NullSio1
  104. -- * Configuring DFCdrom
  105. -- Found cdio: /usr/include/cdio /usr/lib/libcdio.so
  106. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  107. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  108. -- * Configuring DFInput
  109. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  110. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  111. -- Found SDL2: /usr/lib/libSDL2main.a;/usr/lib/libSDL2.so
  112. -- Using SDL2
  113. -- * Configuring DFNet
  114. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  115. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  116. -- * Configuring DFSound
  117. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  118. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  119. -- Using SDL2
  120. -- * Configuring DFXVideo
  121. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  122. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  123. -- * Configuring peopsxgl
  124. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  125. -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
  126. -- Found OpenGL: /usr/lib/libOpenGL.so
  127. -- Configuring done
  128. -- Generating done
  129. -- Build files have been written to: /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/build
  130. [ 0%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxbios.c.o
  131. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  132. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1702:35: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  133. if (strcmp(FDesc[1 + mcd].name, fptr+0xa)) continue;
  134. ^~~~~~~~
  135. /usr/include/string.h:156:50: note: passing argument to parameter '__s2' here
  136. extern int strcmp (const char *__s1, const char *__s2)
  137. ^
  138. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1723:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  139. strcpy(fptr+0xa, FDesc[1 + mcd].name);
  140. ^~~~~~~~
  141. /usr/include/bits/string_fortified.h:77:33: note: passing argument to parameter '__dest' here
  142. __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
  143. ^
  144. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1747:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  145. SaveMcd(cfg, ptr, 128, 128 * 15);
  146. ^~~
  147. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.h:58:20: note: passing argument to parameter 'mcd' here
  148. void SaveMcd(char *mcd, char *data, uint32_t adr, int size);
  149. ^
  150. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1747:17: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  151. SaveMcd(cfg, ptr, 128, 128 * 15);
  152. ^~~
  153. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.h:58:31: note: passing argument to parameter 'data' here
  154. void SaveMcd(char *mcd, char *data, uint32_t adr, int size);
  155. ^
  156. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1768:13: warning: passing 'char[131072]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  157. buopen(1, Mcd1Data, Config.Mcd1);
  158. ^~~~~~~~
  159. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:33: note: passing argument to parameter 'ptr' here
  160. static void buopen(int mcd, u8 *ptr, u8 *cfg)
  161. ^
  162. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1768:23: warning: passing 'char[4096]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  163. buopen(1, Mcd1Data, Config.Mcd1);
  164. ^~~~~~~~~~~
  165. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:42: note: passing argument to parameter 'cfg' here
  166. static void buopen(int mcd, u8 *ptr, u8 *cfg)
  167. ^
  168. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1772:13: warning: passing 'char[131072]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  169. buopen(2, Mcd2Data, Config.Mcd2);
  170. ^~~~~~~~
  171. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:33: note: passing argument to parameter 'ptr' here
  172. static void buopen(int mcd, u8 *ptr, u8 *cfg)
  173. ^
  174. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1772:23: warning: passing 'char[4096]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  175. buopen(2, Mcd2Data, Config.Mcd2);
  176. ^~~~~~~~~~~
  177. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:42: note: passing argument to parameter 'cfg' here
  178. static void buopen(int mcd, u8 *ptr, u8 *cfg)
  179. ^
  180. 8 warnings generated.
  181. [ 1%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/cdrom.c.o
  182. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  183. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:367:20: warning: passing 'const u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  184. current = msf2sec(time);
  185. ^~~~
  186. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
  187. extern unsigned int msf2sec(const char *msf);
  188. ^
  189. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:399:19: warning: passing 'const u8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  190. this_s = msf2sec(time);
  191. ^~~~
  192. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
  193. extern unsigned int msf2sec(const char *msf);
  194. ^
  195. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:418:22: warning: passing 'unsigned char[3]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  196. sec2msf(relative_s, cdr.subq.Relative);
  197. ^~~~~~~~~~~~~~~~~
  198. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:136:49: note: passing argument to parameter 'msf' here
  199. extern void sec2msf(unsigned int s, const char *msf);
  200. ^
  201. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:1330:15: warning: passing 'unsigned char[4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  202. i = msf2sec(cdr.SetSectorPlay);
  203. ^~~~~~~~~~~~~~~~~
  204. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
  205. extern unsigned int msf2sec(const char *msf);
  206. ^
  207. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:1331:28: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  208. i = abs(i - (int)msf2sec(set_loc));
  209. ^~~~~~~
  210. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
  211. extern unsigned int msf2sec(const char *msf);
  212. ^
  213. 5 warnings generated.
  214. [ 2%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxcounters.c.o
  215. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  216. [ 2%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxdma.c.o
  217. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  218. [ 3%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/disr3000a.c.o
  219. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  220. [ 3%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/gpu.c.o
  221. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  222. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/gpu.c:147:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  223. GPU_pgxpMemory(PGXP_ConvertAddress(madr), PGXP_GetMem());
  224. ^~~~~~~~~~~~~
  225. 1 warning generated.
  226. [ 4%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/spu.c.o
  227. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  228. [ 5%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/sio.c.o
  229. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  230. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:916:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  231. fread(data, 1, MCD_SIZE, f);
  232. ^~~~~ ~~~~~~~~~~~~~~~~~~~~
  233. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:931:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  234. fread(data, 1, MCD_SIZE, f);
  235. ^~~~~ ~~~~~~~~~~~~~~~~~~~~
  236. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1213:21: warning: assigning to 'unsigned char *' from 'char[131072]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  237. if (mcd == 1) data = Mcd1Data;
  238. ^ ~~~~~~~~
  239. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1214:21: warning: assigning to 'unsigned char *' from 'char[131072]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  240. if (mcd == 2) data = Mcd2Data;
  241. ^ ~~~~~~~~
  242. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1224:6: warning: assigning to 'unsigned char *' from 'char[49]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  243. str = Info->Title;
  244. ^ ~~~~~~~~~~~
  245. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1225:7: warning: assigning to 'unsigned char *' from 'char[97]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  246. sstr = Info->sTitle;
  247. ^ ~~~~~~~~~~~~
  248. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1261:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  249. trim(str);
  250. ^~~
  251. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.h:80:17: note: passing argument to parameter 'str' here
  252. void trim(char *str);
  253. ^
  254. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1262:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  255. trim(sstr);
  256. ^~~~
  257. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.h:80:17: note: passing argument to parameter 'str' here
  258. void trim(char *str);
  259. ^
  260. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1288:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  261. strncpy(Info->ID, ptr, 12);
  262. ^~~
  263. /usr/include/bits/string_fortified.h:92:65: note: passing argument to parameter '__src' here
  264. __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
  265. ^
  266. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1290:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  267. strncpy(Info->Name, ptr, 16);
  268. ^~~
  269. /usr/include/bits/string_fortified.h:92:65: note: passing argument to parameter '__src' here
  270. __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
  271. ^
  272. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.c:1317:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  273. fread( DongleData, 1, DONGLE_SIZE, f );
  274. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275. 11 warnings generated.
  276. [ 5%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxhw.c.o
  277. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  278. [ 6%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/mdec.c.o
  279. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  280. [ 6%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxmem.c.o
  281. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  282. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxmem.c:130:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  283. fread(psxR, 1, 0x80000, f);
  284. ^~~~~ ~~~~~~~~~~~~~~~~~~~
  285. 1 warning generated.
  286. [ 7%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/misc.c.o
  287. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  288. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:116:14: warning: passing 's8 *' (aka 'signed char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  289. if (!strlen(filename)) return -1;
  290. ^~~~~~~~
  291. /usr/include/string.h:407:35: note: passing argument to parameter '__s' here
  292. extern size_t strlen (const char *__s)
  293. ^
  294. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:127:41: warning: passing 's8 *' (aka 'signed char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  295. if (!strnicmp((char *)&dir->name[0], filename, dir->name_len[0])) {
  296. ^~~~~~~~
  297. /usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here
  298. extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
  299. ^
  300. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:135:10: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[4096]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  301. mdir = ddir;
  302. ^ ~~~~
  303. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:138:58: warning: passing 's8 *' (aka 'signed char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  304. if (!strnicmp((char *)&dir->name[0], filename, strlen(filename))) {
  305. ^~~~~~~~
  306. /usr/include/string.h:407:35: note: passing argument to parameter '__s' here
  307. extern size_t strlen (const char *__s)
  308. ^
  309. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:138:41: warning: passing 's8 *' (aka 'signed char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  310. if (!strnicmp((char *)&dir->name[0], filename, strlen(filename))) {
  311. ^~~~~~~~
  312. /usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here
  313. extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
  314. ^
  315. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:171:31: warning: passing 'char[13]' to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  316. if (GetCdromFile(mdir, time, "SYSTEM.CNF;1") == -1) {
  317. ^~~~~~~~~~~~~~
  318. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  319. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  320. ^
  321. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:173:32: warning: passing 'char[10]' to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  322. if (GetCdromFile(mdir, time, "PSX.EXE;1") == -1) return -1;
  323. ^~~~~~~~~~~
  324. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  325. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  326. ^
  327. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:185:24: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  328. char *ptr = strstr(buf + 12, "cdrom:");
  329. ^~~~~~~~
  330. /usr/include/string.h:350:34: note: passing argument to parameter '__haystack' here
  331. extern char *strstr (const char *__haystack, const char *__needle)
  332. ^
  333. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:189:14: warning: passing 's8[256]' (aka 'signed char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  334. strncpy(exename, ptr, 255);
  335. ^~~~~~~
  336. /usr/include/bits/string_fortified.h:92:34: note: passing argument to parameter '__dest' here
  337. __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
  338. ^
  339. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:191:10: warning: assigning to 'char *' from 's8[256]' (aka 'signed char[256]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  340. ptr = exename;
  341. ^ ~~~~~~~
  342. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:259:31: warning: passing 'u8[256]' (aka 'unsigned char[256]') to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  343. if (GetCdromFile(mdir, time, exename) == -1) return -1;
  344. ^~~~~~~
  345. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  346. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  347. ^
  348. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:307:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  349. strncpy(CdromLabel, buf + 52, 32);
  350. ^~~~~~~~
  351. /usr/include/bits/string_fortified.h:92:65: note: passing argument to parameter '__src' here
  352. __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
  353. ^
  354. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:316:31: warning: passing 'char[13]' to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  355. if (GetCdromFile(mdir, time, "SYSTEM.CNF;1") != -1) {
  356. ^~~~~~~~~~~~~~
  357. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  358. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  359. ^
  360. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:320:32: warning: passing 'char[256]' to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  361. if (GetCdromFile(mdir, time, exename) == -1) {
  362. ^~~~~~~
  363. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  364. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  365. ^
  366. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:322:33: warning: passing 'char[256]' to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  367. if (GetCdromFile(mdir, time, exename) == -1) {
  368. ^~~~~~~
  369. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  370. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  371. ^
  372. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:323:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  373. char *ptr = strstr(buf + 12, "cdrom:"); // possibly the executable is in some subdir
  374. ^~~~~~~~
  375. /usr/include/string.h:350:34: note: passing argument to parameter '__haystack' here
  376. extern char *strstr (const char *__haystack, const char *__needle)
  377. ^
  378. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:332:35: warning: passing 'char[256]' to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  379. if (GetCdromFile(mdir, time, exename) == -1)
  380. ^~~~~~~
  381. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  382. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  383. ^
  384. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:338:38: warning: passing 'char[10]' to parameter of type 's8 *' (aka 'signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  385. } else if (GetCdromFile(mdir, time, "PSX.EXE;1") != -1) {
  386. ^~~~~~~~~~~
  387. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
  388. int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
  389. ^
  390. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:440:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  391. fread(psxM + 0x10000, 0x61000, 1, f);
  392. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  393. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:470:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  394. fread(&tmpHead, sizeof(EXE_HEADER), 1, tmpFile);
  395. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  396. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:472:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  397. fread(PSXM(SWAP32(tmpHead.t_addr)), SWAP32(tmpHead.t_size), 1, tmpFile);
  398. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  399. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:485:6: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  400. fread(&opcode, 1, 1, tmpFile);
  401. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~
  402. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:488:8: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  403. fread(&section_address, 4, 1, tmpFile);
  404. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  405. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:489:8: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  406. fread(&section_size, 4, 1, tmpFile);
  407. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  408. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:495:8: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  409. fread(PSXM(section_address), section_size, 1, tmpFile);
  410. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  411. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:499:8: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  412. fread(&psxRegs.pc, 4, 1, tmpFile);
  413. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
  414. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:513:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  415. fread(&coffHead, sizeof(coffHead), 1, tmpFile);
  416. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  417. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  418. fread(&optHead, sizeof(optHead), 1, tmpFile);
  419. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  420. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:521:6: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  421. fread(&section, sizeof(section), 1, tmpFile);
  422. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  423. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:525:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  424. fread(PSXM(SWAP32(section.s_paddr)), SWAP32(section.s_size), 1, tmpFile);
  425. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  426. 30 warnings generated.
  427. [ 8%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/plugins.c.o
  428. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  429. [ 8%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/decode_xa.c.o
  430. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  431. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:113:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  432. XACLAMP( x0, -32768<<SH, 32767<<SH ); *destp = x0 >> SH; destp += inc;
  433. ~~~~~~^
  434. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
  435. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  436. ^~~~
  437. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:113:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  438. XACLAMP( x0, -32768<<SH, 32767<<SH ); *destp = x0 >> SH; destp += inc;
  439. ~~~~~~^
  440. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
  441. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  442. ^~~~
  443. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:114:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  444. XACLAMP( x1, -32768<<SH, 32767<<SH ); *destp = x1 >> SH; destp += inc;
  445. ~~~~~~^
  446. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
  447. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  448. ^~~~
  449. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:114:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  450. XACLAMP( x1, -32768<<SH, 32767<<SH ); *destp = x1 >> SH; destp += inc;
  451. ~~~~~~^
  452. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
  453. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  454. ^~~~
  455. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:115:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  456. XACLAMP( x2, -32768<<SH, 32767<<SH ); *destp = x2 >> SH; destp += inc;
  457. ~~~~~~^
  458. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
  459. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  460. ^~~~
  461. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:115:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  462. XACLAMP( x2, -32768<<SH, 32767<<SH ); *destp = x2 >> SH; destp += inc;
  463. ~~~~~~^
  464. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
  465. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  466. ^~~~
  467. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:116:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  468. XACLAMP( x3, -32768<<SH, 32767<<SH ); *destp = x3 >> SH; destp += inc;
  469. ~~~~~~^
  470. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
  471. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  472. ^~~~
  473. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:116:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  474. XACLAMP( x3, -32768<<SH, 32767<<SH ); *destp = x3 >> SH; destp += inc;
  475. ~~~~~~^
  476. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
  477. #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
  478. ^~~~
  479. 8 warnings generated.
  480. [ 9%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/r3000a.c.o
  481. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  482. [ 9%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxinterpreter.c.o
  483. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  484. [ 10%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/gte.c.o
  485. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  486. [ 11%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxhle.c.o
  487. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  488. [ 11%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/debug.c.o
  489. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  490. [ 12%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxcommon.c.o
  491. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  492. [ 12%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/cdriso.c.o
  493. clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
  494. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:184:2: warning: implicit declaration of function 'av_register_all' is invalid in C99 [-Wimplicit-function-declaration]
  495. av_register_all();
  496. ^
  497. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:205:9: warning: implicit declaration of function 'avcodec_decode_audio4' is invalid in C99 [-Wimplicit-function-declaration]
  498. ret = avcodec_decode_audio4(audio_dec_ctx, frame, got_frame, &pkt);
  499. ^
  500. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:244:17: error: no member named 'codec' in 'struct AVStream'
  501. dec_ctx = st->codec;
  502. ~~ ^
  503. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:245:7: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  504. dec = avcodec_find_decoder(dec_ctx->codec_id);
  505. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  506. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:272:2: warning: implicit declaration of function 'av_register_all' is invalid in C99 [-Wimplicit-function-declaration]
  507. av_register_all();
  508. ^
  509. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:287:33: error: no member named 'codec' in 'struct AVStream'
  510. audio_dec_ctx = audio_stream->codec;
  511. ~~~~~~~~~~~~ ^
  512. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:304:72: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
  513. av_opt_set_int(resample_context, "in_channel_layout", audio_dec_ctx->channel_layout, 0);
  514. ^
  515. /usr/include/libavcodec/avcodec.h:1059:5: note: 'channel_layout' has been explicitly marked deprecated here
  516. attribute_deprecated
  517. ^
  518. /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
  519. # define attribute_deprecated __attribute__((deprecated))
  520. ^
  521. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:326:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
  522. av_init_packet(&pkt);
  523. ^
  524. /usr/include/libavcodec/packet.h:511:1: note: 'av_init_packet' has been explicitly marked deprecated here
  525. attribute_deprecated
  526. ^
  527. /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
  528. # define attribute_deprecated __attribute__((deprecated))
  529. ^
  530. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:470:21: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  531. sec2msf(2 * 75, ti[numtracks].start); // assume data track on 0:2:0
  532. ^~~~~~~~~~~~~~~~~~~
  533. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  534. void sec2msf(unsigned int s, char *msf) {
  535. ^
  536. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:503:17: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  537. t += msf2sec(ti[numtracks].start) * sector_size;
  538. ^~~~~~~~~~~~~~~~~~~
  539. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  540. unsigned int msf2sec(char *msf) {
  541. ^
  542. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:523:32: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  543. pregapOffset = t + msf2sec(ti[numtracks - 1].length);
  544. ^~~~~~~~~~~~~~~~~~~~~~~~
  545. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  546. unsigned int msf2sec(char *msf) {
  547. ^
  548. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:532:17: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  549. t = msf2sec(ti[numtracks].start) + t;
  550. ^~~~~~~~~~~~~~~~~~~
  551. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  552. unsigned int msf2sec(char *msf) {
  553. ^
  554. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:663:16: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  555. t = msf2sec(ti[numtracks].start);
  556. ^~~~~~~~~~~~~~~~~~~
  557. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  558. unsigned int msf2sec(char *msf) {
  559. ^
  560. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:666:15: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  561. sec2msf(t, ti[numtracks].start);
  562. ^~~~~~~~~~~~~~~~~~~
  563. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  564. void sec2msf(unsigned int s, char *msf) {
  565. ^
  566. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:670:15: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  567. sec2msf(t, ti[numtracks].length);
  568. ^~~~~~~~~~~~~~~~~~~~
  569. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  570. void sec2msf(unsigned int s, char *msf) {
  571. ^
  572. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:675:17: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  573. t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
  574. ^~~~~~~~~~~~~~~~~~~
  575. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  576. unsigned int msf2sec(char *msf) {
  577. ^
  578. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:675:48: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  579. t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
  580. ^~~~~~~~~~~~~~~~~~~~~~~
  581. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  582. unsigned int msf2sec(char *msf) {
  583. ^
  584. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:676:16: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  585. sec2msf(t, ti[numtracks - 1].length);
  586. ^~~~~~~~~~~~~~~~~~~~~~~~
  587. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  588. void sec2msf(unsigned int s, char *msf) {
  589. ^
  590. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:775:24: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  591. sec2msf(t + 2 * 75, ti[numtracks].start);
  592. ^~~~~~~~~~~~~~~~~~~
  593. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  594. void sec2msf(unsigned int s, char *msf) {
  595. ^
  596. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:780:17: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  597. t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
  598. ^~~~~~~~~~~~~~~~~~~
  599. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  600. unsigned int msf2sec(char *msf) {
  601. ^
  602. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:780:48: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  603. t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
  604. ^~~~~~~~~~~~~~~~~~~~~~~
  605. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  606. unsigned int msf2sec(char *msf) {
  607. ^
  608. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:781:16: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  609. sec2msf(t, ti[numtracks - 1].length);
  610. ^~~~~~~~~~~~~~~~~~~~~~~~
  611. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  612. void sec2msf(unsigned int s, char *msf) {
  613. ^
  614. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:791:52: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  615. t = ftell(cdHandle) / CD_FRAMESIZE_RAW - msf2sec(ti[numtracks].start) + 2 * 75;
  616. ^~~~~~~~~~~~~~~~~~~
  617. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  618. unsigned int msf2sec(char *msf) {
  619. ^
  620. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:792:14: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  621. sec2msf(t, ti[numtracks].length);
  622. ^~~~~~~~~~~~~~~~~~~~
  623. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  624. void sec2msf(unsigned int s, char *msf) {
  625. ^
  626. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:825:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  627. fread(&i, 1, sizeof(unsigned int), fi);
  628. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  629. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:835:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  630. fread(&offset, 1, sizeof(unsigned int), fi);
  631. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  632. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:841:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  633. fread(&s, 1, sizeof(unsigned short), fi);
  634. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  635. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:847:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  636. fread(&offset, 1, sizeof(unsigned int), fi);
  637. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  638. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:876:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  639. fread(&extra_offset, 1, sizeof(unsigned int), fi);
  640. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  641. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:881:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  642. fread(&l, 1, sizeof(unsigned int), fi);
  643. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  644. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:887:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  645. fread(&l, 1, sizeof(unsigned int), fi);
  646. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  647. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:890:27: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  648. pregapOffset = msf2sec(ti[i].start);
  649. ^~~~~~~~~~~
  650. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  651. unsigned int msf2sec(char *msf) {
  652. ^
  653. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:893:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  654. fread(&l, 1, sizeof(unsigned int), fi);
  655. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  656. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:895:14: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  657. sec2msf(l, ti[i].length);
  658. ^~~~~~~~~~~~
  659. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  660. void sec2msf(unsigned int s, char *msf) {
  661. ^
  662. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:951:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  663. fread(psar_sig, 1, sizeof(psar_sig), cdHandle);
  664. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  665. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:987:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  666. fread(psar_sig, 1, sizeof(psar_sig), cdHandle);
  667. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  668. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1005:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  669. fread(&toc_entry, 1, sizeof(toc_entry), cdHandle);
  670. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  671. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1008:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  672. fread(&toc_entry, 1, sizeof(toc_entry), cdHandle);
  673. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  674. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1013:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  675. fread(&toc_entry, 1, sizeof(toc_entry), cdHandle);
  676. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  677. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1025:16: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  678. t = msf2sec(ti[i].start) - msf2sec(ti[i - 1].start);
  679. ^~~~~~~~~~~
  680. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  681. unsigned int msf2sec(char *msf) {
  682. ^
  683. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1025:39: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  684. t = msf2sec(ti[i].start) - msf2sec(ti[i - 1].start);
  685. ^~~~~~~~~~~~~~~
  686. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  687. unsigned int msf2sec(char *msf) {
  688. ^
  689. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1026:15: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  690. sec2msf(t, ti[i - 1].length);
  691. ^~~~~~~~~~~~~~~~
  692. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  693. void sec2msf(unsigned int s, char *msf) {
  694. ^
  695. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1030:13: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  696. sec2msf(t, ti[numtracks].length);
  697. ^~~~~~~~~~~~~~~~~~~~
  698. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  699. void sec2msf(unsigned int s, char *msf) {
  700. ^
  701. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1215:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  702. fread(subbuffer, 1, SUB_FRAMESIZE, f);
  703. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  704. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1801:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  705. fread(&modeTest, 4, 1, cdHandle);
  706. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
  707. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1934:18: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  708. sect = msf2sec(ti[numtracks].start) + msf2sec(ti[numtracks].length);
  709. ^~~~~~~~~~~~~~~~~~~
  710. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  711. unsigned int msf2sec(char *msf) {
  712. ^
  713. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1934:49: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  714. sect = msf2sec(ti[numtracks].start) + msf2sec(ti[numtracks].length);
  715. ^~~~~~~~~~~~~~~~~~~~
  716. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  717. unsigned int msf2sec(char *msf) {
  718. ^
  719. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:1996:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  720. fread(subbuffer, 1, SUB_FRAMESIZE, subHandle);
  721. ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  722. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:2043:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  723. sec2msf(sect, (u8 *)stat->Time);
  724. ^~~~~~~~~~~~~~~~
  725. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
  726. void sec2msf(unsigned int s, char *msf) {
  727. ^
  728. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:2054:23: warning: passing 'unsigned char[3]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  729. cddaCurPos = msf2sec(msf);
  730. ^~~
  731. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  732. unsigned int msf2sec(char *msf) {
  733. ^
  734. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:2058:25: warning: passing 'u8[3]' (aka 'unsigned char[3]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  735. track_start = msf2sec(ti[track].start);
  736. ^~~~~~~~~~~~~~~
  737. /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
  738. unsigned int msf2sec(char *msf) {
  739. ^
  740. 49 warnings and 2 errors generated.
  741. make[2]: *** [libpcsxcore/CMakeFiles/pcsxcore.dir/build.make:356: libpcsxcore/CMakeFiles/pcsxcore.dir/cdriso.c.o] Error 1
  742. make[1]: *** [CMakeFiles/Makefile2:332: libpcsxcore/CMakeFiles/pcsxcore.dir/all] Error 2
  743. make: *** [Makefile:136: all] Error 2
  744. ==> ERROR: A failure occurred in build().
  745. Aborting...
  746.  
  747. Command 'makepkg --force' failed to execute.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement