Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Starting build()...
- -- The C compiler identification is Clang 14.0.6
- -- The CXX compiler identification is Clang 14.0.6
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/clang - skipped
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/clang++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Performing Test NO_PIE_UPSTREAM
- -- Performing Test NO_PIE_UPSTREAM - Success
- -- Performing Test NO_PIE_PATCHED
- -- Performing Test NO_PIE_PATCHED - Success
- -- * Configuring Core
- -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
- -- Checking for module 'avformat'
- -- Package 'avformat', required by 'virtual:world', not found
- -- Look for newer structure
- -- Checking for module 'libavformat'
- -- Found libavformat, version 59.27.100
- -- Found avformat include dirs: /usr/include
- -- Using FFMpeg dir parent as hint: /usr
- -- Found avformat libs: /usr/lib/libavformat.so
- -- found avformat: include /usr/include lib /usr/lib/libavformat.so
- -- Checking for module 'avcodec'
- -- Package 'avcodec', required by 'virtual:world', not found
- -- Look for newer structure
- -- Checking for module 'libavcodec'
- -- Found libavcodec, version 59.37.100
- -- Found avcodec include dirs: /usr/include
- -- Using FFMpeg dir parent as hint: /usr
- -- Found avcodec libs: /usr/lib/libavcodec.so
- -- found avcodec: include /usr/include lib /usr/lib/libavcodec.so
- -- Checking for module 'avutil'
- -- Package 'avutil', required by 'virtual:world', not found
- -- Look for newer structure
- -- Checking for module 'libavutil'
- -- Found libavutil, version 57.28.100
- -- Found avutil include dirs: /usr/include
- -- Using FFMpeg dir parent as hint: /usr
- -- Found avutil libs: /usr/lib/libavutil.so
- -- found avutil: include /usr/include lib /usr/lib/libavutil.so
- -- Checking for module 'swresample'
- -- Package 'swresample', required by 'virtual:world', not found
- -- Look for newer structure
- -- Checking for module 'libswresample'
- -- Found libswresample, version 4.7.100
- -- Found swresample include dirs: /usr/include
- -- Using FFMpeg dir parent as hint: /usr
- -- Found swresample libs: /usr/lib/libswresample.so
- -- found swresample: include /usr/include lib /usr/lib/libswresample.so
- -- /usr/lib/libavformat.so/usr/lib/libavcodec.so/usr/lib/libavutil.so/usr/lib/libswresample.so
- -- Found FFMPEG: /usr/lib/libavformat.so;/usr/lib/libavcodec.so;/usr/lib/libavutil.so;/usr/lib/libswresample.so
- -- Found LibArchive: /usr/lib/libarchive.so (found version "3.6.2")
- -- Building PCSXr on arch x86_64
- -- Targeting arch x86_64
- -- Autodetected x86_64 dynarec.
- -- * Configuring UI
- -- Checking for one of the modules 'glib-2.0'
- -- Found GLib: /usr/lib/libglib-2.0.so (found version "2.74.4")
- -- Checking for one of the modules 'gio-2.0'
- -- Checking for one of the modules 'gobject-2.0'
- -- Found GObject: /usr/lib/libgobject-2.0.so (found version "2.74.4")
- -- Found GIO: /usr/lib/libgio-2.0.so (found version "2.74.4")
- -- Checking for one of the modules 'atk'
- -- Found ATK: /usr/lib/libatk-1.0.so (found version "2.46.0")
- -- Checking for one of the modules 'gdk-3.0'
- -- Checking for one of the modules 'pango'
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found GDK3: /usr/lib/libgdk-3.so (found version "3.24.36")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Checking for one of the modules 'cairo'
- -- Found Cairo: /usr/lib/libcairo.so (found version "1.17.6")
- -- Checking for one of the modules 'gdk-pixbuf-2.0'
- -- Found GDKPixbuf: /usr/lib/libgdk_pixbuf-2.0.so (found version "")
- -- Found GTK3: /usr/lib/libgtk-3.so (found suitable version "3.24.36", minimum required is "3.14.0")
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
- -- Found Threads: TRUE
- -- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")
- -- Found X11: /usr/include
- -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
- -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
- -- Looking for gethostbyname
- -- Looking for gethostbyname - found
- -- Looking for connect
- -- Looking for connect - found
- -- Looking for remove
- -- Looking for remove - found
- -- Looking for shmat
- -- Looking for shmat - found
- -- Looking for IceConnectionNumber in ICE
- -- Looking for IceConnectionNumber in ICE - found
- -- * Configuring translations
- -- * Configuring BladeSio1
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found GTK3: /usr/lib/libgtk-3.so (found version "3.24.36")
- -- * Configuring NullSio1
- -- * Configuring DFCdrom
- -- Found cdio: /usr/include/cdio /usr/lib/libcdio.so
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- * Configuring DFInput
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found SDL2: /usr/lib/libSDL2main.a;/usr/lib/libSDL2.so
- -- Using SDL2
- -- * Configuring DFNet
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- * Configuring DFSound
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Using SDL2
- -- * Configuring DFXVideo
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- * Configuring peopsxgl
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found Pango: /usr/lib/libpango-1.0.so (found version "1.50.12")
- -- Found OpenGL: /usr/lib/libOpenGL.so
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/build
- [ 0%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxbios.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- if (strcmp(FDesc[1 + mcd].name, fptr+0xa)) continue;
- ^~~~~~~~
- /usr/include/string.h:156:50: note: passing argument to parameter '__s2' here
- extern int strcmp (const char *__s1, const char *__s2)
- ^
- /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]
- strcpy(fptr+0xa, FDesc[1 + mcd].name);
- ^~~~~~~~
- /usr/include/bits/string_fortified.h:77:33: note: passing argument to parameter '__dest' here
- __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
- ^
- /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]
- SaveMcd(cfg, ptr, 128, 128 * 15);
- ^~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.h:58:20: note: passing argument to parameter 'mcd' here
- void SaveMcd(char *mcd, char *data, uint32_t adr, int size);
- ^
- /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]
- SaveMcd(cfg, ptr, 128, 128 * 15);
- ^~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/sio.h:58:31: note: passing argument to parameter 'data' here
- void SaveMcd(char *mcd, char *data, uint32_t adr, int size);
- ^
- /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]
- buopen(1, Mcd1Data, Config.Mcd1);
- ^~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:33: note: passing argument to parameter 'ptr' here
- static void buopen(int mcd, u8 *ptr, u8 *cfg)
- ^
- /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]
- buopen(1, Mcd1Data, Config.Mcd1);
- ^~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:42: note: passing argument to parameter 'cfg' here
- static void buopen(int mcd, u8 *ptr, u8 *cfg)
- ^
- /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]
- buopen(2, Mcd2Data, Config.Mcd2);
- ^~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:33: note: passing argument to parameter 'ptr' here
- static void buopen(int mcd, u8 *ptr, u8 *cfg)
- ^
- /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]
- buopen(2, Mcd2Data, Config.Mcd2);
- ^~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/psxbios.c:1690:42: note: passing argument to parameter 'cfg' here
- static void buopen(int mcd, u8 *ptr, u8 *cfg)
- ^
- 8 warnings generated.
- [ 1%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/cdrom.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- current = msf2sec(time);
- ^~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
- extern unsigned int msf2sec(const char *msf);
- ^
- /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]
- this_s = msf2sec(time);
- ^~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
- extern unsigned int msf2sec(const char *msf);
- ^
- /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]
- sec2msf(relative_s, cdr.subq.Relative);
- ^~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:136:49: note: passing argument to parameter 'msf' here
- extern void sec2msf(unsigned int s, const char *msf);
- ^
- /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]
- i = msf2sec(cdr.SetSectorPlay);
- ^~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
- extern unsigned int msf2sec(const char *msf);
- ^
- /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]
- i = abs(i - (int)msf2sec(set_loc));
- ^~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdrom.c:135:41: note: passing argument to parameter 'msf' here
- extern unsigned int msf2sec(const char *msf);
- ^
- 5 warnings generated.
- [ 2%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxcounters.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 2%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxdma.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 3%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/disr3000a.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 3%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/gpu.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- GPU_pgxpMemory(PGXP_ConvertAddress(madr), PGXP_GetMem());
- ^~~~~~~~~~~~~
- 1 warning generated.
- [ 4%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/spu.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 5%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/sio.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- fread(data, 1, MCD_SIZE, f);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(data, 1, MCD_SIZE, f);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~
- /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]
- if (mcd == 1) data = Mcd1Data;
- ^ ~~~~~~~~
- /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]
- if (mcd == 2) data = Mcd2Data;
- ^ ~~~~~~~~
- /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]
- str = Info->Title;
- ^ ~~~~~~~~~~~
- /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]
- sstr = Info->sTitle;
- ^ ~~~~~~~~~~~~
- /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]
- trim(str);
- ^~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.h:80:17: note: passing argument to parameter 'str' here
- void trim(char *str);
- ^
- /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]
- trim(sstr);
- ^~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.h:80:17: note: passing argument to parameter 'str' here
- void trim(char *str);
- ^
- /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]
- strncpy(Info->ID, ptr, 12);
- ^~~
- /usr/include/bits/string_fortified.h:92:65: note: passing argument to parameter '__src' here
- __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
- ^
- /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]
- strncpy(Info->Name, ptr, 16);
- ^~~
- /usr/include/bits/string_fortified.h:92:65: note: passing argument to parameter '__src' here
- __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
- ^
- /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]
- fread( DongleData, 1, DONGLE_SIZE, f );
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 11 warnings generated.
- [ 5%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxhw.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 6%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/mdec.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 6%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxmem.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- fread(psxR, 1, 0x80000, f);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~
- 1 warning generated.
- [ 7%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/misc.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- if (!strlen(filename)) return -1;
- ^~~~~~~~
- /usr/include/string.h:407:35: note: passing argument to parameter '__s' here
- extern size_t strlen (const char *__s)
- ^
- /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]
- if (!strnicmp((char *)&dir->name[0], filename, dir->name_len[0])) {
- ^~~~~~~~
- /usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here
- extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
- ^
- /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]
- mdir = ddir;
- ^ ~~~~
- /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]
- if (!strnicmp((char *)&dir->name[0], filename, strlen(filename))) {
- ^~~~~~~~
- /usr/include/string.h:407:35: note: passing argument to parameter '__s' here
- extern size_t strlen (const char *__s)
- ^
- /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]
- if (!strnicmp((char *)&dir->name[0], filename, strlen(filename))) {
- ^~~~~~~~
- /usr/include/strings.h:120:55: note: passing argument to parameter '__s2' here
- extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
- ^
- /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]
- if (GetCdromFile(mdir, time, "SYSTEM.CNF;1") == -1) {
- ^~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- if (GetCdromFile(mdir, time, "PSX.EXE;1") == -1) return -1;
- ^~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- char *ptr = strstr(buf + 12, "cdrom:");
- ^~~~~~~~
- /usr/include/string.h:350:34: note: passing argument to parameter '__haystack' here
- extern char *strstr (const char *__haystack, const char *__needle)
- ^
- /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]
- strncpy(exename, ptr, 255);
- ^~~~~~~
- /usr/include/bits/string_fortified.h:92:34: note: passing argument to parameter '__dest' here
- __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
- ^
- /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]
- ptr = exename;
- ^ ~~~~~~~
- /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]
- if (GetCdromFile(mdir, time, exename) == -1) return -1;
- ^~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- strncpy(CdromLabel, buf + 52, 32);
- ^~~~~~~~
- /usr/include/bits/string_fortified.h:92:65: note: passing argument to parameter '__src' here
- __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
- ^
- /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]
- if (GetCdromFile(mdir, time, "SYSTEM.CNF;1") != -1) {
- ^~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- if (GetCdromFile(mdir, time, exename) == -1) {
- ^~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- if (GetCdromFile(mdir, time, exename) == -1) {
- ^~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- char *ptr = strstr(buf + 12, "cdrom:"); // possibly the executable is in some subdir
- ^~~~~~~~
- /usr/include/string.h:350:34: note: passing argument to parameter '__haystack' here
- extern char *strstr (const char *__haystack, const char *__needle)
- ^
- /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]
- if (GetCdromFile(mdir, time, exename) == -1)
- ^~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- } else if (GetCdromFile(mdir, time, "PSX.EXE;1") != -1) {
- ^~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/misc.c:109:42: note: passing argument to parameter 'filename' here
- int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
- ^
- /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]
- fread(psxM + 0x10000, 0x61000, 1, f);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&tmpHead, sizeof(EXE_HEADER), 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(PSXM(SWAP32(tmpHead.t_addr)), SWAP32(tmpHead.t_size), 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&opcode, 1, 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(§ion_address, 4, 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(§ion_size, 4, 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(PSXM(section_address), section_size, 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&psxRegs.pc, 4, 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&coffHead, sizeof(coffHead), 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&optHead, sizeof(optHead), 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(§ion, sizeof(section), 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(PSXM(SWAP32(section.s_paddr)), SWAP32(section.s_size), 1, tmpFile);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 30 warnings generated.
- [ 8%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/plugins.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 8%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/decode_xa.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- XACLAMP( x0, -32768<<SH, 32767<<SH ); *destp = x0 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- /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]
- XACLAMP( x0, -32768<<SH, 32767<<SH ); *destp = x0 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- /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]
- XACLAMP( x1, -32768<<SH, 32767<<SH ); *destp = x1 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- /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]
- XACLAMP( x1, -32768<<SH, 32767<<SH ); *destp = x1 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- /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]
- XACLAMP( x2, -32768<<SH, 32767<<SH ); *destp = x2 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- /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]
- XACLAMP( x2, -32768<<SH, 32767<<SH ); *destp = x2 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- /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]
- XACLAMP( x3, -32768<<SH, 32767<<SH ); *destp = x3 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- /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]
- XACLAMP( x3, -32768<<SH, 32767<<SH ); *destp = x3 >> SH; destp += inc;
- ~~~~~~^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP'
- #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;}
- ^~~~
- 8 warnings generated.
- [ 9%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/r3000a.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 9%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxinterpreter.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 10%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/gte.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 11%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxhle.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 11%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/debug.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 12%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/psxcommon.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- [ 12%] Building C object libpcsxcore/CMakeFiles/pcsxcore.dir/cdriso.c.o
- clang-14: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
- /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]
- av_register_all();
- ^
- /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]
- ret = avcodec_decode_audio4(audio_dec_ctx, frame, got_frame, &pkt);
- ^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:244:17: error: no member named 'codec' in 'struct AVStream'
- dec_ctx = st->codec;
- ~~ ^
- /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]
- dec = avcodec_find_decoder(dec_ctx->codec_id);
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- av_register_all();
- ^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:287:33: error: no member named 'codec' in 'struct AVStream'
- audio_dec_ctx = audio_stream->codec;
- ~~~~~~~~~~~~ ^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:304:72: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
- av_opt_set_int(resample_context, "in_channel_layout", audio_dec_ctx->channel_layout, 0);
- ^
- /usr/include/libavcodec/avcodec.h:1059:5: note: 'channel_layout' has been explicitly marked deprecated here
- attribute_deprecated
- ^
- /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
- # define attribute_deprecated __attribute__((deprecated))
- ^
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:326:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
- av_init_packet(&pkt);
- ^
- /usr/include/libavcodec/packet.h:511:1: note: 'av_init_packet' has been explicitly marked deprecated here
- attribute_deprecated
- ^
- /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
- # define attribute_deprecated __attribute__((deprecated))
- ^
- /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]
- sec2msf(2 * 75, ti[numtracks].start); // assume data track on 0:2:0
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- t += msf2sec(ti[numtracks].start) * sector_size;
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- pregapOffset = t + msf2sec(ti[numtracks - 1].length);
- ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- t = msf2sec(ti[numtracks].start) + t;
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- t = msf2sec(ti[numtracks].start);
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- sec2msf(t, ti[numtracks].start);
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- sec2msf(t, ti[numtracks].length);
- ^~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- sec2msf(t, ti[numtracks - 1].length);
- ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- sec2msf(t + 2 * 75, ti[numtracks].start);
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start);
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- sec2msf(t, ti[numtracks - 1].length);
- ^~~~~~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- t = ftell(cdHandle) / CD_FRAMESIZE_RAW - msf2sec(ti[numtracks].start) + 2 * 75;
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- sec2msf(t, ti[numtracks].length);
- ^~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- fread(&i, 1, sizeof(unsigned int), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&offset, 1, sizeof(unsigned int), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&s, 1, sizeof(unsigned short), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&offset, 1, sizeof(unsigned int), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&extra_offset, 1, sizeof(unsigned int), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&l, 1, sizeof(unsigned int), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&l, 1, sizeof(unsigned int), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- pregapOffset = msf2sec(ti[i].start);
- ^~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- fread(&l, 1, sizeof(unsigned int), fi);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- sec2msf(l, ti[i].length);
- ^~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- fread(psar_sig, 1, sizeof(psar_sig), cdHandle);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(psar_sig, 1, sizeof(psar_sig), cdHandle);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&toc_entry, 1, sizeof(toc_entry), cdHandle);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&toc_entry, 1, sizeof(toc_entry), cdHandle);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&toc_entry, 1, sizeof(toc_entry), cdHandle);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- t = msf2sec(ti[i].start) - msf2sec(ti[i - 1].start);
- ^~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- t = msf2sec(ti[i].start) - msf2sec(ti[i - 1].start);
- ^~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- sec2msf(t, ti[i - 1].length);
- ^~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- sec2msf(t, ti[numtracks].length);
- ^~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- fread(subbuffer, 1, SUB_FRAMESIZE, f);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- fread(&modeTest, 4, 1, cdHandle);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- sect = msf2sec(ti[numtracks].start) + msf2sec(ti[numtracks].length);
- ^~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- sect = msf2sec(ti[numtracks].start) + msf2sec(ti[numtracks].length);
- ^~~~~~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- fread(subbuffer, 1, SUB_FRAMESIZE, subHandle);
- ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- sec2msf(sect, (u8 *)stat->Time);
- ^~~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:121:36: note: passing argument to parameter 'msf' here
- void sec2msf(unsigned int s, char *msf) {
- ^
- /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]
- cddaCurPos = msf2sec(msf);
- ^~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- /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]
- track_start = msf2sec(ti[track].start);
- ^~~~~~~~~~~~~~~
- /home/kzv/.cache/pikaur/build/pcsxr-pgxp-git/src/pcsxr-pgxp/libpcsxcore/cdriso.c:117:28: note: passing argument to parameter 'msf' here
- unsigned int msf2sec(char *msf) {
- ^
- 49 warnings and 2 errors generated.
- make[2]: *** [libpcsxcore/CMakeFiles/pcsxcore.dir/build.make:356: libpcsxcore/CMakeFiles/pcsxcore.dir/cdriso.c.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:332: libpcsxcore/CMakeFiles/pcsxcore.dir/all] Error 2
- make: *** [Makefile:136: all] Error 2
- ==> ERROR: A failure occurred in build().
- Aborting...
- Command 'makepkg --force' failed to execute.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement