+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pcsxr.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6DfJN9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcsxr + /usr/bin/unzip -qq /builddir/build/SOURCES/pcsxr-87788.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd pcsxr + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/pcsxr-1.9.94-missinginclude.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/pcsxr-1.9.94-zlib129fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/pcsxr-1.9.94-SDLjoyoverflowbug.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -f -r win32 macosx + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9Ein7a + umask 022 + cd /builddir/build/BUILD + cd pcsxr + sh autogen.sh Rebuilding ./configure with autoreconf... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:10: installing './compile' configure.ac:3: installing './config.guess' configure.ac:3: installing './config.sub' configure.ac:5: installing './install-sh' configure.ac:5: installing './missing' gui/Makefile.am: installing './depcomp' libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxbios.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/cdrom.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxcounters.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxdma.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/disr3000a.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/gpu.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/spu.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/sio.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxhw.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/mdec.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxmem.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/misc.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/plugins.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/decode_xa.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/r3000a.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxinterpreter.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/gte.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxhle.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/debug.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/psxcommon.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/cdriso.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/cheat.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/socket.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:6: warning: source file '$(top_builddir)/libpcsxcore/ppf.c' is in a subdirectory, libpcsxcore/Makefile.am:6: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:60: warning: source file '$(top_builddir)/libpcsxcore/ix86_64/iR3000A-64.c' is in a subdirectory, libpcsxcore/Makefile.am:60: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:60: warning: source file '$(top_builddir)/libpcsxcore/ix86_64/ix86-64.c' is in a subdirectory, libpcsxcore/Makefile.am:60: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:60: warning: source file '$(top_builddir)/libpcsxcore/ix86_64/ix86_cpudetect.c' is in a subdirectory, libpcsxcore/Makefile.am:60: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:60: warning: source file '$(top_builddir)/libpcsxcore/ix86_64/ix86_fpu.c' is in a subdirectory, libpcsxcore/Makefile.am:60: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:60: warning: source file '$(top_builddir)/libpcsxcore/ix86_64/ix86_3dnow.c' is in a subdirectory, libpcsxcore/Makefile.am:60: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:60: warning: source file '$(top_builddir)/libpcsxcore/ix86_64/ix86_mmx.c' is in a subdirectory, libpcsxcore/Makefile.am:60: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:60: warning: source file '$(top_builddir)/libpcsxcore/ix86_64/ix86_sse.c' is in a subdirectory, libpcsxcore/Makefile.am:60: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:71: warning: source file '$(top_builddir)/libpcsxcore/ix86/iR3000A.c' is in a subdirectory, libpcsxcore/Makefile.am:71: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:71: warning: source file '$(top_builddir)/libpcsxcore/ix86/ix86.c' is in a subdirectory, libpcsxcore/Makefile.am:71: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:81: warning: source file '$(top_builddir)/libpcsxcore/ppc/pR3000A.c' is in a subdirectory, libpcsxcore/Makefile.am:81: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:81: warning: source file '$(top_builddir)/libpcsxcore/ppc/ppc.c' is in a subdirectory, libpcsxcore/Makefile.am:81: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:81: warning: source file '$(top_builddir)/libpcsxcore/ppc/reguse.c' is in a subdirectory, libpcsxcore/Makefile.am:81: but option 'subdir-objects' is disabled libpcsxcore/Makefile.am:81: warning: source file '$(top_builddir)/libpcsxcore/ppc/pasm.s' is in a subdirectory, libpcsxcore/Makefile.am:81: but option 'subdir-objects' is disabled plugins/dfcdrom/Makefile.am:30: warning: source file 'cdrcfg-0.1df/main.c' is in a subdirectory, plugins/dfcdrom/Makefile.am:30: but option 'subdir-objects' is disabled plugins/dfsound/Makefile.am:52: warning: source file 'spucfg-0.1df/main.c' is in a subdirectory, plugins/dfsound/Makefile.am:52: but option 'subdir-objects' is disabled plugins/dfxvideo/Makefile.am:29: warning: source file 'gpucfg-0.1df/main.c' is in a subdirectory, plugins/dfxvideo/Makefile.am:29: but option 'subdir-objects' is disabled plugins/peopsxgl/Makefile.am:18: warning: source file 'gpucfg/main.c' is in a subdirectory, plugins/peopsxgl/Makefile.am:18: but option 'subdir-objects' is disabled checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking dependency style of gcc... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.26.1 checking for XML::Parser... ok checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for GTK3... yes checking for SDL2... yes checking for dlsym in -ldl... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for umem_alloc in -lumem... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking X11/extensions/Xv.h usability... yes checking X11/extensions/Xv.h presence... yes checking for X11/extensions/Xv.h... yes checking X11/extensions/XTest.h usability... yes checking X11/extensions/XTest.h presence... yes checking for X11/extensions/XTest.h... yes checking for uncompress2 in -lz... yes checking whether byte ordering is bigendian... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating doc/Makefile config.status: creating libpcsxcore/Makefile config.status: creating gui/Makefile config.status: creating plugins/dfinput/Makefile config.status: creating plugins/dfsound/Makefile config.status: creating plugins/dfxvideo/Makefile config.status: creating plugins/dfcdrom/Makefile config.status: creating plugins/dfnet/Makefile config.status: creating pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating plugins/bladesio1/Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-libcdio --enable-opengl checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.26.1 checking for XML::Parser... ok checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for GTK3... yes checking for SDL2... yes checking for dlsym in -ldl... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for umem_alloc in -lumem... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking X11/extensions/Xv.h usability... yes checking X11/extensions/Xv.h presence... yes checking for X11/extensions/Xv.h... yes checking X11/extensions/XTest.h usability... yes checking X11/extensions/XTest.h presence... yes checking for X11/extensions/XTest.h... yes checking for uncompress2 in -lz... yes checking for LIBCDIO... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking for X11/extensions/xf86vmode.h... yes checking whether byte ordering is bigendian... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating doc/Makefile config.status: creating libpcsxcore/Makefile config.status: creating gui/Makefile config.status: creating plugins/dfinput/Makefile config.status: creating plugins/dfsound/Makefile config.status: creating plugins/dfxvideo/Makefile config.status: creating plugins/dfcdrom/Makefile config.status: creating plugins/dfnet/Makefile config.status: creating pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating plugins/peopsxgl/Makefile config.status: creating plugins/bladesio1/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + /usr/bin/make -O -j4 Making all in data make[1]: Nothing to be done for 'all'. Making all in doc make[1]: Nothing to be done for 'all'. Making all in pixmaps make[1]: Nothing to be done for 'all'. Making all in po make[1]: Entering directory '/builddir/build/BUILD/pcsxr/po' file=`echo zh_CN | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file zh_CN.po make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/po' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/po' file=`echo zh_TW | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file zh_TW.po make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/po' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/po' file=`echo pt_BR | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/po' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/po' file=`echo ru_RU | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ru_RU.po make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/po' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/po' file=`echo hu_HU | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file hu_HU.po make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/po' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/po' file=`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file it.po make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/po' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/po' file=`echo fr_FR | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr_FR.po make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/po' Making all in libpcsxcore make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxdma.o `test -f '../libpcsxcore/psxdma.c' || echo './'`../libpcsxcore/psxdma.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxcounters.o `test -f '../libpcsxcore/psxcounters.c' || echo './'`../libpcsxcore/psxcounters.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o gpu.o `test -f '../libpcsxcore/gpu.c' || echo './'`../libpcsxcore/gpu.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o spu.o `test -f '../libpcsxcore/spu.c' || echo './'`../libpcsxcore/spu.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cdrom.o `test -f '../libpcsxcore/cdrom.c' || echo './'`../libpcsxcore/cdrom.c ../libpcsxcore/cdrom.c: In function 'Find_CurTrack': ../libpcsxcore/cdrom.c:367:20: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] current = msf2sec(time); ^~~~ ../libpcsxcore/cdrom.c:135:21: note: expected 'const char *' but argument is of type 'const u8 * {aka const unsigned char *}' extern unsigned int msf2sec(const char *msf); ^~~~~~~ ../libpcsxcore/cdrom.c: In function 'generate_subq': ../libpcsxcore/cdrom.c:399:19: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] this_s = msf2sec(time); ^~~~ ../libpcsxcore/cdrom.c:135:21: note: expected 'const char *' but argument is of type 'const u8 * {aka const unsigned char *}' extern unsigned int msf2sec(const char *msf); ^~~~~~~ ../libpcsxcore/cdrom.c:418:22: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(relative_s, cdr.subq.Relative); ^~~ ../libpcsxcore/cdrom.c:136:13: note: expected 'const char *' but argument is of type 'unsigned char *' extern void sec2msf(unsigned int s, const char *msf); ^~~~~~~ ../libpcsxcore/cdrom.c: In function 'cdrWrite1': ../libpcsxcore/cdrom.c:1331:15: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] i = msf2sec(cdr.SetSectorPlay); ^~~ ../libpcsxcore/cdrom.c:135:21: note: expected 'const char *' but argument is of type 'unsigned char *' extern unsigned int msf2sec(const char *msf); ^~~~~~~ ../libpcsxcore/cdrom.c:1332:23: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] i = abs(i - msf2sec(set_loc)); ^~~~~~~ ../libpcsxcore/cdrom.c:135:21: note: expected 'const char *' but argument is of type 'u8 * {aka unsigned char *}' extern unsigned int msf2sec(const char *msf); ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxhw.o `test -f '../libpcsxcore/psxhw.c' || echo './'`../libpcsxcore/psxhw.c ../libpcsxcore/psxhw.c: In function 'psxHwWrite32': ../libpcsxcore/psxhw.c:647:4: warning: "/*" within comment [-Wcomment] /* but makes Tomb Raider II water effect to stay opaque ../libpcsxcore/psxhw.c:648:4: warning: "/*" within comment [-Wcomment] /* Root cause for this problem is that when DMA2 is issued ../libpcsxcore/psxhw.c:649:4: warning: "/*" within comment [-Wcomment] /* it is incompletele and still beign built by the game. ../libpcsxcore/psxhw.c:650:4: warning: "/*" within comment [-Wcomment] /* Maybe it is ready when some signal comes in or within given delay? make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o disr3000a.o `test -f '../libpcsxcore/disr3000a.c' || echo './'`../libpcsxcore/disr3000a.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxmem.o `test -f '../libpcsxcore/psxmem.c' || echo './'`../libpcsxcore/psxmem.c ../libpcsxcore/psxmem.c: In function 'psxMemReset': ../libpcsxcore/psxmem.c:125:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(psxR, 1, 0x80000, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/psxmem.c:117:18: warning: '%s' directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=] sprintf(bios, "%s/%s", Config.BiosDir, Config.Bios); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/psxmem.h:27, from ../libpcsxcore/psxmem.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sio.o `test -f '../libpcsxcore/sio.c' || echo './'`../libpcsxcore/sio.c ../libpcsxcore/sio.c: In function 'GetMcdBlockInfo': ../libpcsxcore/sio.c:1185:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (mcd == 1) data = Mcd1Data; ^ ../libpcsxcore/sio.c:1186:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (mcd == 2) data = Mcd2Data; ^ ../libpcsxcore/sio.c:1196:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] str = Info->Title; ^ ../libpcsxcore/sio.c:1197:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sstr = Info->sTitle; ^ ../libpcsxcore/sio.c:1233:7: warning: pointer targets in passing argument 1 of 'trim' differ in signedness [-Wpointer-sign] trim(str); ^~~ In file included from ../libpcsxcore/psxbios.h:30:0, from ../libpcsxcore/r3000a.h:30, from ../libpcsxcore/sio.h:29, from ../libpcsxcore/sio.c:24: ../libpcsxcore/misc.h:71:6: note: expected 'char *' but argument is of type 'unsigned char *' void trim(char *str); ^~~~ ../libpcsxcore/sio.c:1234:7: warning: pointer targets in passing argument 1 of 'trim' differ in signedness [-Wpointer-sign] trim(sstr); ^~~~ In file included from ../libpcsxcore/psxbios.h:30:0, from ../libpcsxcore/r3000a.h:30, from ../libpcsxcore/sio.h:29, from ../libpcsxcore/sio.c:24: ../libpcsxcore/misc.h:71:6: note: expected 'char *' but argument is of type 'unsigned char *' void trim(char *str); ^~~~ ../libpcsxcore/sio.c:1260:20: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(Info->ID, ptr, 12); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/sio.h:28, from ../libpcsxcore/sio.c:24: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../libpcsxcore/sio.c:1262:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(Info->Name, ptr, 16); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/sio.h:28, from ../libpcsxcore/sio.c:24: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../libpcsxcore/sio.c: In function 'LoadMcd': ../libpcsxcore/sio.c:892:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(data, 1, MCD_SIZE, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/sio.c:907:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(data, 1, MCD_SIZE, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/sio.c: In function 'LoadDongle': ../libpcsxcore/sio.c:1289:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( DongleData, 1, DONGLE_SIZE, f ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o mdec.o `test -f '../libpcsxcore/mdec.c' || echo './'`../libpcsxcore/mdec.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxbios.o `test -f '../libpcsxcore/psxbios.c' || echo './'`../libpcsxcore/psxbios.c ../libpcsxcore/psxbios.c: In function 'psxBios_strtok': ../libpcsxcore/psxbios.c:564:16: warning: null argument where non-null required (argument 2) [-Wnonnull] char *pcRet = strtok(pcA0, (char *)Ra1); ^~~~~~ In file included from ../libpcsxcore/r3000a.h:28:0, from ../libpcsxcore/psxbios.h:28, from ../libpcsxcore/psxbios.c:24: ../libpcsxcore/psxbios.c: In function 'psxBios_malloc': ../libpcsxcore/psxbios.c:873:42: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *newchunk = SWAP32((csize - dsize - 4) & 0xfffffffc | 1); ~~~~~~~~~~~~~~~~~~~~^~~ ../libpcsxcore/psxmem.h:45:20: note: in definition of macro 'SWAP32' #define SWAP32(b) (b) ^ ../libpcsxcore/psxbios.c: In function 'psxBios_calloc': ../libpcsxcore/psxbios.c:902:2: warning: null argument where non-null required (argument 1) [-Wnonnull] memset(Rv0, 0, a0); ^~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_printf': ../libpcsxcore/psxbios.c:952:2: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(save, (char*)PSXM(sp), 4 * 4); ^~~~~~ ../libpcsxcore/psxbios.c:1006:2: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy((char*)PSXM(sp), save, 4 * 4); ^~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_Load': ../libpcsxcore/psxbios.c:1029:3: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(Ra1, ((char*)&eheader)+16, sizeof(EXEC)); ^~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_open': ../libpcsxcore/psxbios.c:1692:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu00", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c:1696:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu10", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_read': ../libpcsxcore/psxbios.c:1732:2: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(Ra1, ptr, a2); \ ^ ../libpcsxcore/psxbios.c:1754:11: note: in expansion of macro 'buread' case 2: buread(1); break; ^~~~~~ ../libpcsxcore/psxbios.c:1732:2: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(Ra1, ptr, a2); \ ^ ../libpcsxcore/psxbios.c:1755:11: note: in expansion of macro 'buread' case 3: buread(2); break; ^~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_write': ../libpcsxcore/psxbios.c:1765:2: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(ptr, Ra1, a2); \ ^ ../libpcsxcore/psxbios.c:1796:11: note: in expansion of macro 'buwrite' case 2: buwrite(1); break; ^~~~~~~ ../libpcsxcore/psxbios.c:1765:2: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(ptr, Ra1, a2); \ ^ ../libpcsxcore/psxbios.c:1797:11: note: in expansion of macro 'buwrite' case 3: buwrite(2); break; ^~~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_firstfile': ../libpcsxcore/psxbios.c:1897:2: warning: null argument where non-null required (argument 2) [-Wnonnull] strcpy(ffile, Ra0); ^~~~~~ ../libpcsxcore/psxbios.c:1900:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu00", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c:1902:14: warning: null argument where non-null required (argument 1) [-Wnonnull] } else if (!strncmp(Ra0, "bu10", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_rename': ../libpcsxcore/psxbios.c:1970:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu00", 4) && !strncmp(Ra1, "bu00", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c:1970:35: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu00", 4) && !strncmp(Ra1, "bu00", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c:1974:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu10", 4) && !strncmp(Ra1, "bu10", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c:1974:35: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu10", 4) && !strncmp(Ra1, "bu10", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios_delete': ../libpcsxcore/psxbios.c:2009:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu00", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c:2013:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if (!strncmp(Ra0, "bu10", 4)) { ^~~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios__card_write': ../libpcsxcore/psxbios.c:2061:3: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(Mcd1Data + a1 * 128, Ra2, 128); ^~~~~~ ../libpcsxcore/psxbios.c:2064:3: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(Mcd2Data + a1 * 128, Ra2, 128); ^~~~~~ ../libpcsxcore/psxbios.c: In function 'psxBios__card_read': ../libpcsxcore/psxbios.c:2085:3: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(Ra2, Mcd1Data + a1 * 128, 128); ^~~~~~ ../libpcsxcore/psxbios.c:2087:3: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(Ra2, Mcd2Data + a1 * 128, 128); ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o misc.o `test -f '../libpcsxcore/misc.c' || echo './'`../libpcsxcore/misc.c ../libpcsxcore/misc.c: In function 'GetCdromFile': ../libpcsxcore/misc.c:111:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strlen(filename)) return -1; ^~~~~~~~ In file included from ../libpcsxcore/psxcommon.h:36:0, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 's8 * {aka signed char *}' extern size_t strlen (const char *__s) ^~~~~~ ../libpcsxcore/misc.c:122:41: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (!strnicmp((char *)&dir->name[0], filename, dir->name_len[0])) { ^~~~~~~~ In file included from /usr/include/string.h:431:0, from ../libpcsxcore/psxcommon.h:36, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 's8 * {aka signed char *}' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ ../libpcsxcore/misc.c:130:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mdir = ddir; ^ ../libpcsxcore/misc.c:133:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strnicmp((char *)&dir->name[0], filename, strlen(filename))) { ^~~~~~~~ In file included from ../libpcsxcore/psxcommon.h:36:0, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 's8 * {aka signed char *}' extern size_t strlen (const char *__s) ^~~~~~ ../libpcsxcore/misc.c:133:41: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (!strnicmp((char *)&dir->name[0], filename, strlen(filename))) { ^~~~~~~~ In file included from /usr/include/string.h:431:0, from ../libpcsxcore/psxcommon.h:36, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 's8 * {aka signed char *}' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ ../libpcsxcore/misc.c: In function 'LoadCdrom': ../libpcsxcore/misc.c:166:31: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] if (GetCdromFile(mdir, time, "SYSTEM.CNF;1") == -1) { ^~~~~~~~~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'char *' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c:168:32: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] if (GetCdromFile(mdir, time, "PSX.EXE;1") == -1) return -1; ^~~~~~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'char *' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c:180:24: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] char *ptr = strstr(buf + 12, "cdrom:"); ^~~ In file included from ../libpcsxcore/psxcommon.h:36:0, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'u8 * {aka unsigned char *}' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ ../libpcsxcore/misc.c:184:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(exename, ptr, 255); ^~~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 's8 * {aka signed char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../libpcsxcore/misc.c:186:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = exename; ^ ../libpcsxcore/misc.c: In function 'LoadCdromFile': ../libpcsxcore/misc.c:245:31: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] if (GetCdromFile(mdir, time, exename) == -1) return -1; ^~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'u8 * {aka unsigned char *}' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c:261:3: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy((void *)PSXM(addr), buf + 12, 2048); ^~~~~~ ../libpcsxcore/misc.c: In function 'CheckCdrom': ../libpcsxcore/misc.c:289:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(CdromLabel, buf + 52, 32); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../libpcsxcore/misc.c:298:31: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] if (GetCdromFile(mdir, time, "SYSTEM.CNF;1") != -1) { ^~~~~~~~~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'char *' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c:302:32: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] if (GetCdromFile(mdir, time, exename) == -1) { ^~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'char *' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c:304:33: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] if (GetCdromFile(mdir, time, exename) == -1) { ^~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'char *' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c:305:24: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] char *ptr = strstr(buf + 12, "cdrom:"); // possibly the executable is in some subdir ^~~ In file included from ../libpcsxcore/psxcommon.h:36:0, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ ../libpcsxcore/misc.c:314:35: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] if (GetCdromFile(mdir, time, exename) == -1) ^~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'char *' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c:320:38: warning: pointer targets in passing argument 3 of 'GetCdromFile' differ in signedness [-Wpointer-sign] } else if (GetCdromFile(mdir, time, "PSX.EXE;1") != -1) { ^~~~~~~~~~~ ../libpcsxcore/misc.c:104:5: note: expected 's8 * {aka signed char *}' but argument is of type 'char *' int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) { ^~~~~~~~~~~~ ../libpcsxcore/misc.c: In function 'Load': ../libpcsxcore/misc.c:481:7: warning: null argument where non-null required (argument 1) [-Wnonnull] memset(PSXM(SWAP32(section.s_paddr)), 0, SWAP32(section.s_size)); ^~~~~~ ../libpcsxcore/misc.c:424:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmpHead, sizeof(EXE_HEADER), 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:426:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(PSXM(SWAP32(tmpHead.t_addr)), SWAP32(tmpHead.t_size), 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:439:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&opcode, 1, 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:442:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(§ion_address, 4, 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:443:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(§ion_size, 4, 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:449:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(PSXM(section_address), section_size, 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:453:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&psxRegs.pc, 4, 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:467:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&coffHead, sizeof(coffHead), 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:468:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&optHead, sizeof(optHead), 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:475:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(§ion, sizeof(section), 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c:479:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(PSXM(SWAP32(section.s_paddr)), SWAP32(section.s_size), 1, tmpFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c: In function 'LoadLibPS': ../libpcsxcore/misc.c:395:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(psxM + 0x10000, 0x61000, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c: In function 'PSXGetFileType': ../libpcsxcore/misc.c:368:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(mybuf, 2048, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/misc.c: In function 'LoadLibPS': ../libpcsxcore/misc.c:390:18: warning: '/libps.exe' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(buf, "%s/libps.exe", Config.BiosDir); ^~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/misc.h:27, from ../libpcsxcore/misc.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o plugins.o `test -f '../libpcsxcore/plugins.c' || echo './'`../libpcsxcore/plugins.c ../libpcsxcore/plugins.c: In function 'ReleasePlugins': ../libpcsxcore/plugins.c:809:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (hCDRDriver != NULL) SysCloseLibrary(hCDRDriver); hCDRDriver = NULL; ^~ ../libpcsxcore/plugins.c:809:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (hCDRDriver != NULL) SysCloseLibrary(hCDRDriver); hCDRDriver = NULL; ^~~~~~~~~~ ../libpcsxcore/plugins.c:810:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (hGPUDriver != NULL) SysCloseLibrary(hGPUDriver); hGPUDriver = NULL; ^~ ../libpcsxcore/plugins.c:810:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (hGPUDriver != NULL) SysCloseLibrary(hGPUDriver); hGPUDriver = NULL; ^~~~~~~~~~ ../libpcsxcore/plugins.c:811:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (hSPUDriver != NULL) SysCloseLibrary(hSPUDriver); hSPUDriver = NULL; ^~ ../libpcsxcore/plugins.c:811:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (hSPUDriver != NULL) SysCloseLibrary(hSPUDriver); hSPUDriver = NULL; ^~~~~~~~~~ ../libpcsxcore/plugins.c:812:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (hPAD1Driver != NULL) SysCloseLibrary(hPAD1Driver); hPAD1Driver = NULL; ^~ ../libpcsxcore/plugins.c:812:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (hPAD1Driver != NULL) SysCloseLibrary(hPAD1Driver); hPAD1Driver = NULL; ^~~~~~~~~~~ ../libpcsxcore/plugins.c:813:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (hPAD2Driver != NULL) SysCloseLibrary(hPAD2Driver); hPAD2Driver = NULL; ^~ ../libpcsxcore/plugins.c:813:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (hPAD2Driver != NULL) SysCloseLibrary(hPAD2Driver); hPAD2Driver = NULL; ^~~~~~~~~~~ ../libpcsxcore/plugins.c: In function 'LoadPlugins': ../libpcsxcore/plugins.c:744:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Gpu); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/plugins.h:27, from ../libpcsxcore/plugins.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/plugins.c:747:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Spu); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/plugins.h:27, from ../libpcsxcore/plugins.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/plugins.c:750:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Pad1); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/plugins.h:27, from ../libpcsxcore/plugins.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/plugins.c:753:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Pad2); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/plugins.h:27, from ../libpcsxcore/plugins.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/plugins.c:760:23: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Net); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/plugins.h:27, from ../libpcsxcore/plugins.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/plugins.c:765:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Sio1); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/plugins.h:27, from ../libpcsxcore/plugins.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/plugins.c:740:23: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Cdr); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/plugins.h:27, from ../libpcsxcore/plugins.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o r3000a.o `test -f '../libpcsxcore/r3000a.c' || echo './'`../libpcsxcore/r3000a.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o decode_xa.o `test -f '../libpcsxcore/decode_xa.c' || echo './'`../libpcsxcore/decode_xa.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxhle.o `test -f '../libpcsxcore/psxhle.c' || echo './'`../libpcsxcore/psxhle.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxcommon.o `test -f '../libpcsxcore/psxcommon.c' || echo './'`../libpcsxcore/psxcommon.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o debug.o `test -f '../libpcsxcore/debug.c' || echo './'`../libpcsxcore/debug.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cdriso.o `test -f '../libpcsxcore/cdriso.c' || echo './'`../libpcsxcore/cdriso.c ../libpcsxcore/cdriso.c: In function 'parsetoc': ../libpcsxcore/cdriso.c:488:21: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(2 * 75, ti[numtracks].start); // assume data track on 0:2:0 ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:519:17: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t += msf2sec(ti[numtracks].start) * sector_size; ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:539:32: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] pregapOffset = t + msf2sec(ti[numtracks - 1].length); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:548:17: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[numtracks].start) + t; ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'parsecue': ../libpcsxcore/cdriso.c:674:16: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[numtracks].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:677:15: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t, ti[numtracks].start); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:681:15: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t, ti[numtracks].length); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:686:17: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:686:48: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:687:16: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t, ti[numtracks - 1].length); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'parseccd': ../libpcsxcore/cdriso.c:786:24: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t + 2 * 75, ti[numtracks].start); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:791:17: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:791:48: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[numtracks].start) - msf2sec(ti[numtracks - 1].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:792:16: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t, ti[numtracks - 1].length); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:802:40: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = ftell(cdHandle) / 2352 - msf2sec(ti[numtracks].start) + 2 * 75; ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:803:14: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t, ti[numtracks].length); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'parsemds': ../libpcsxcore/cdriso.c:901:27: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] pregapOffset = msf2sec(ti[i].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:906:14: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(l, ti[i].length); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'handlepbp': ../libpcsxcore/cdriso.c:1034:16: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[i].start) - msf2sec(ti[i - 1].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:1034:39: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] t = msf2sec(ti[i].start) - msf2sec(ti[i - 1].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:1035:15: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t, ti[i - 1].length); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:1039:13: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(t, ti[numtracks].length); ^~ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'cdread_compressed': ../libpcsxcore/cdriso.c:1303:89: warning: passing argument 4 of 'uncompress2' makes pointer from integer without a cast [-Wint-conversion] ret = uncompress2(compr_img->buff_raw[0], &cdbuffer_size, compr_img->buff_compressed, size); ^~~~ In file included from ../libpcsxcore/psxcommon.h:45:0, from ../libpcsxcore/cdriso.c:22: /usr/include/zlib.h:1283:21: note: expected 'uLong * {aka long unsigned int *}' but argument is of type 'unsigned int' ZEXTERN int ZEXPORT uncompress2 OF((Bytef *dest, uLongf *destLen, ^~~~~~~~~~~ ../libpcsxcore/cdriso.c: In function 'cdread_ecm_decode': ../libpcsxcore/cdriso.c:1342:6: warning: unused variable 'output_edc' [-Wunused-variable] u32 output_edc=0, b, writebytecount=0, num; ^~~~~~~~~~ ../libpcsxcore/cdriso.c: In function 'ISOgetTD': ../libpcsxcore/cdriso.c:1764:18: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] sect = msf2sec(ti[numtracks].start) + msf2sec(ti[numtracks].length); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:1764:49: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] sect = msf2sec(ti[numtracks].start) + msf2sec(ti[numtracks].length); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'ISOgetStatus': ../libpcsxcore/cdriso.c:1873:16: warning: pointer targets in passing argument 2 of 'sec2msf' differ in signedness [-Wpointer-sign] sec2msf(sect, (u8 *)stat->Time); ^ ../libpcsxcore/cdriso.c:126:6: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' void sec2msf(unsigned int s, char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'ISOreadCDDA': ../libpcsxcore/cdriso.c:1884:23: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] cddaCurPos = msf2sec(msf); ^~~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'unsigned char *' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c:1888:25: warning: pointer targets in passing argument 1 of 'msf2sec' differ in signedness [-Wpointer-sign] track_start = msf2sec(ti[track].start); ^~ ../libpcsxcore/cdriso.c:122:14: note: expected 'char *' but argument is of type 'u8 * {aka unsigned char *}' unsigned int msf2sec(char *msf) { ^~~~~~~ ../libpcsxcore/cdriso.c: In function 'ISOreadTrack': ../libpcsxcore/cdriso.c:1826:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(subbuffer, 1, SUB_FRAMESIZE, subHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c: In function 'ISOopen': ../libpcsxcore/cdriso.c:1648:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&modeTest, 4, 1, cdHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c: In function 'cdread_sub_mixed': ../libpcsxcore/cdriso.c:1215:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(subbuffer, 1, SUB_FRAMESIZE, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c: In function 'parsemds': ../libpcsxcore/cdriso.c:836:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&i, 1, sizeof(unsigned int), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:846:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&offset, 1, sizeof(unsigned int), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:852:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&s, 1, sizeof(unsigned short), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:858:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&offset, 1, sizeof(unsigned int), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:887:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&extra_offset, 1, sizeof(unsigned int), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:892:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&l, 1, sizeof(unsigned int), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:898:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&l, 1, sizeof(unsigned int), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:904:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&l, 1, sizeof(unsigned int), fi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c: In function 'handlepbp': ../libpcsxcore/cdriso.c:960:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(psar_sig, 1, sizeof(psar_sig), cdHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:996:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(psar_sig, 1, sizeof(psar_sig), cdHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:1014:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&toc_entry, 1, sizeof(toc_entry), cdHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:1017:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&toc_entry, 1, sizeof(toc_entry), cdHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/cdriso.c:1022:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&toc_entry, 1, sizeof(toc_entry), cdHandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../libpcsxcore/cdriso.c:27:0: At top level: ../libpcsxcore/ecm.h:106:17: warning: 'get32lsb' defined but not used [-Wunused-function] static uint32_t get32lsb(const uint8_t* src) { ^~~~~~~~ ../libpcsxcore/cdriso.c: In function 'cdread_ecm_decode': ../libpcsxcore/cdriso.c:1489:2: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] SysPrintf("Error decoding ECM image: WantedSector %i Type %i Base %i Sectors %i(%i) Pos %i(%li)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sector, type, base, sectorcount, pos->sector, writebytecount, ftell(f)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o socket.o `test -f '../libpcsxcore/socket.c' || echo './'`../libpcsxcore/socket.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cheat.o `test -f '../libpcsxcore/cheat.c' || echo './'`../libpcsxcore/cheat.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o psxinterpreter.o `test -f '../libpcsxcore/psxinterpreter.c' || echo './'`../libpcsxcore/psxinterpreter.c ../libpcsxcore/psxinterpreter.c: In function 'psxSH': ../libpcsxcore/psxinterpreter.c:820:1: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] void psxSH() { psxMemWrite16(_oB_, _u16(_rRt_)); } ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o ppf.o `test -f '../libpcsxcore/ppf.c' || echo './'`../libpcsxcore/ppf.c ../libpcsxcore/ppf.c: In function 'BuildPPFCache': ../libpcsxcore/ppf.c:216:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 3, 1, ppffile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:239:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 4, 1, ppffile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:244:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&dizlen, 4, 1, ppffile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:270:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 4, 1, ppffile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:275:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&dizlen, 2, 1, ppffile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:302:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&pos, 4, 1, ppffile); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:305:20: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] if (method == 2) fread(buffer, 4, 1, ppffile); // skip 4 bytes on ppf3 (no int64 support here) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:308:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ppfmem, anz, 1, ppffile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c: In function 'LoadSBI': ../libpcsxcore/ppf.c:376:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, 4, sbihandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:378:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sbitime[sbicount++], 1, 3, sbihandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c:379:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, 11, sbihandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libpcsxcore/ppf.c: In function 'BuildPPFCache': ../libpcsxcore/ppf.c:210:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(szPPF, "%s/%s", Config.PatchesDir, buffer); ^ In file included from /usr/include/stdio.h:861:0, from ../libpcsxcore/psxcommon.h:35, from ../libpcsxcore/ppf.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' gcc -DHAVE_CONFIG_H -I. -I../include -DLOCALE_DIR=\"/usr/share/locale/\" -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o gte.o `test -f '../libpcsxcore/gte.c' || echo './'`../libpcsxcore/gte.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/libpcsxcore' rm -f libpcsxcore.a ar cru libpcsxcore.a psxbios.o cdrom.o psxcounters.o psxdma.o disr3000a.o gpu.o spu.o sio.o psxhw.o mdec.o psxmem.o misc.o plugins.o decode_xa.o r3000a.o psxinterpreter.o gte.o psxhle.o debug.o psxcommon.o cdriso.o cheat.o socket.o ppf.o ranlib libpcsxcore.a make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/libpcsxcore' Making all in gui make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o Config.o Config.c Config.c: In function 'LoadConfig': Config.c:108:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(data, 1, buf.st_size, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o Plugin.o Plugin.c Plugin.c: In function '_OpenPlugins': Plugin.c:376:20: warning: '%s' directive writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(path, "%s%s", Config.BiosDir, Config.Bios); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from Plugin.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 8191 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o LnxMain.o LnxMain.c LnxMain.c: In function 'main': LnxMain.c:312:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(path, MAXPATHLEN); ^~~~~~~~~~~~~~~~~~~~~~~~ LnxMain.c:344:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(path, MAXPATHLEN); ^~~~~~~~~~~~~~~~~~~~~~~~ LnxMain.c:411:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(plugin_default_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~ LnxMain.c: In function 'ScanBios': LnxMain.c:150:5: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(filename, linkname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ LnxMain.c: In function 'ScanPlugins': LnxMain.c:114:5: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(filename, linkname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ LnxMain.c:120:6: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(filename, linkname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ LnxMain.c: In function 'main': LnxMain.c:310:15: warning: array subscript is above array bounds [-Warray-bounds] isofilename[MAXPATHLEN] = '\0'; ~~~~~~~~~~~^~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o GtkGui.o GtkGui.c GtkGui.c: In function 'get_state_filename': GtkGui.c:215:6: warning: unused variable 'j' [-Wunused-variable] int j; ^ GtkGui.c: In function 'OnFile_RunExe': GtkGui.c:532:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ GtkGui.c:533:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); ^~~~~~~~~~~~~~ GtkGui.c: In function 'Open_Iso_Proc': GtkGui.c:666:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] NULL, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~ GtkGui.c:667:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_OK, ^~~~~~~~~~~~ GtkGui.c: In function 'on_states_load_other': GtkGui.c:1021:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ GtkGui.c:1022:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, ^~~~~~~~~~~~~~ GtkGui.c: In function 'on_states_save_other': GtkGui.c:1050:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ GtkGui.c:1051:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_SAVE, GTK_RESPONSE_OK, ^~~~~~~~~~~~~~ GtkGui.c: In function 'SysMessage': GtkGui.c:1092:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_OK, GTK_RESPONSE_NONE, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GtkGui.c: In function 'SysErrorMessage': GtkGui.c:1118:5: warning: too many arguments for format [-Wformat-extra-args] "s", secondary); ^~~ GtkGui.c: In function 'SysInfoMessage': GtkGui.c:1137:5: warning: too many arguments for format [-Wformat-extra-args] "s", secondary); ^~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o MemcardDlg.o MemcardDlg.c MemcardDlg.c: In function 'LoadListItems': MemcardDlg.c:180:2: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(List), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27:0, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from MemcardDlg.c:24: /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ MemcardDlg.c: In function 'UpdateFilenameButtons': MemcardDlg.c:186:13: warning: variable 'dialog' set but not used [-Wunused-but-set-variable] GtkWidget *dialog; ^~~~~~ MemcardDlg.c: In function 'OnMcd_FileChange': MemcardDlg.c:307:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ MemcardDlg.c:308:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OPEN, GTK_RESPONSE_OK, ^~~~~~~~~~~~~~ MemcardDlg.c: In function 'OnMcd_Format': MemcardDlg.c:349:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ MemcardDlg.c: In function 'OnMcd_New': MemcardDlg.c:374:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ MemcardDlg.c:375:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_SAVE, GTK_RESPONSE_OK, ^~~~~~~~~~~~~~ MemcardDlg.c: In function 'MCDStatusToChar.isra.0': MemcardDlg.c:130:9: warning: 'state' may be used uninitialized in this function [-Wmaybe-uninitialized] return state; ^~~~~ MemcardDlg.c: In function 'OnMcd_CopyTo': MemcardDlg.c:506:10: warning: 'srci' may be used uninitialized in this function [-Wmaybe-uninitialized] count = GetMcdBlockCount(srcmcd, (srci+1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o DebugMemory.o DebugMemory.c DebugMemory.c: In function 'UpdateMemViewDlg': DebugMemory.c:89:2: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27:0, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ DebugMemory.c: In function 'MemView_RowActivated': DebugMemory.c:136:19: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'u8 * {aka unsigned char *}' [-Wformat=] sscanf(value, "%x", &MemViewValue); ~^ ~~~~~~~~~~~~~ %hhx DebugMemory.c: In function 'MemView_Dump': DebugMemory.c:153:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ DebugMemory.c:154:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); ^~~~~~~~~~~~ DebugMemory.c:158:2: warning: 'gtk_table_new' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] table = gtk_table_new(2, 2, FALSE); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here GtkWidget* gtk_table_new (guint rows, ^~~~~~~~~~~~~ DebugMemory.c:161:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:161:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c:168:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), start_edit, 1, 2, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:168:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), start_edit, 1, 2, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c:172:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:172:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c:176:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), length_edit, 1, 2, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:176:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), length_edit, 1, 2, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c:199:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ DebugMemory.c:200:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); ^~~~~~~~~~~~~~ DebugMemory.c: In function 'MemView_Patch': DebugMemory.c:231:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ DebugMemory.c:232:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); ^~~~~~~~~~~~ DebugMemory.c:236:2: warning: 'gtk_table_new' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] table = gtk_table_new(2, 2, FALSE); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here GtkWidget* gtk_table_new (guint rows, ^~~~~~~~~~~~~ DebugMemory.c:239:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:239:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c:246:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), addr_edit, 1, 2, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:246:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), addr_edit, 1, 2, 0, 1, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c:250:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:250:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c:256:2: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), val_edit, 1, 2, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here void gtk_table_attach (GtkTable *table, ^~~~~~~~~~~~~~~~ DebugMemory.c:256:2: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations] gtk_table_attach(GTK_TABLE(table), val_edit, 1, 2, 1, 2, 0, 0, 5, 5); ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:276:0, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here GType gtk_table_get_type (void) G_GNUC_CONST; ^~~~~~~~~~~~~~~~~~ DebugMemory.c: In function 'RunDebugMemoryDialog': DebugMemory.c:349:2: warning: 'gtk_widget_override_font' is deprecated [-Wdeprecated-declarations] gtk_widget_override_font(widget, pfd); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from Linux.h:25, from DebugMemory.c:19: /usr/include/gtk-3.0/gtk/gtkwidget.h:1153:14: note: declared here void gtk_widget_override_font (GtkWidget *widget, ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o Cheat.o Cheat.c Cheat.c: In function 'LoadCheatListItems': Cheat.c:52:2: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27:0, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from Cheat.c:25: /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheat.c: In function 'CheatList_TreeSelectionChanged': Cheat.c:78:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ Cheat.c: In function 'OnCheatListDlg_AddClicked': Cheat.c:102:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ Cheat.c:103:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); ^~~~~~~~~~~~ Cheat.c:128:2: warning: 'gtk_scrolled_window_add_with_viewport' is deprecated: Use 'gtk_container_add' instead [-Wdeprecated-declarations] gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), code_edit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:183:0, from Cheat.c:25: /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:186:13: note: declared here void gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheat.c: In function 'OnCheatListDlg_EditClicked': Cheat.c:186:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~~~~~~~~~~~~~ Cheat.c:187:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); ^~~~~~~~~~~~ Cheat.c:223:2: warning: 'gtk_scrolled_window_add_with_viewport' is deprecated: Use 'gtk_container_add' instead [-Wdeprecated-declarations] gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), code_edit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:183:0, from Cheat.c:25: /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:186:13: note: declared here void gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheat.c: In function 'OnCheatListDlg_OpenClicked': Cheat.c:314:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] NULL, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~ Cheat.c:315:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); ^~~~~~~~~~~~ Cheat.c: In function 'OnCheatListDlg_SaveClicked': Cheat.c:358:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] NULL, GTK_FILE_CHOOSER_ACTION_SAVE, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, ^~~~ Cheat.c:359:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); ^~~~~~~~~~~~ Cheat.c: In function 'UpdateCheatSearchDialog': Cheat.c:624:2: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27:0, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from Cheat.c:25: /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheat.c: In function 'OnCheatSearchDlg_FreezeClicked': Cheat.c:662:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, ^~~~~~~~~~~~~~~~ Cheat.c:663:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL); ^~~~~~~~~~~~~~~~ Cheat.c:675:2: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] hbox = gtk_hbox_new(FALSE, 0); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0, from Cheat.c:25: /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here GtkWidget * gtk_hbox_new (gboolean homogeneous, ^~~~~~~~~~~~ Cheat.c: In function 'OnCheatSearchDlg_ModifyClicked': Cheat.c:761:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, ^~~~~~~~~~~~~~~~ Cheat.c:762:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL); ^~~~~~~~~~~~~~~~ Cheat.c:765:2: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] hbox = gtk_hbox_new(FALSE, 0); ^~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:0, from Cheat.c:25: /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here GtkWidget * gtk_hbox_new (gboolean homogeneous, ^~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o ConfDlg.o ConfDlg.c ConfDlg.c:863:13: warning: 'OnCpu_CpuClicked' defined but not used [-Wunused-function] static void OnCpu_CpuClicked(GtkWidget *widget, gpointer user_data) { ^~~~~~~~~~~~~~~~ ConfDlg.c: In function 'OnConf_Graphics': ConfDlg.c:245:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Gpu); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ConfDlg.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConfDlg.c: In function 'OnConf_Sound': ConfDlg.c:266:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Spu); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ConfDlg.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConfDlg.c: In function 'OnConf_CdRom': ConfDlg.c:287:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Cdr); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ConfDlg.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConfDlg.c: In function 'OnConf_Sio1': ConfDlg.c:308:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Sio1); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ConfDlg.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConfDlg.c: In function 'OnConf_Pad': ConfDlg.c:329:22: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Pad1); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ConfDlg.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConfDlg.c:345:23: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(Plugin, "%s/%s", Config.PluginsDir, Config.Pad2); ^~ ~~~~~~ In file included from /usr/include/stdio.h:861:0, from ConfDlg.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8192 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ConfDlg.c: In function 'FindNetPlugin': ConfDlg.c:807:24: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(plugin, "%s/%s", Config.PluginsDir, ent->d_name); ^~ In file included from /usr/include/stdio.h:861:0, from ConfDlg.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' gcc -DHAVE_CONFIG_H -I. -I../include -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../libpcsxcore -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" -DDEF_PLUGIN_DIR=\"/usr/lib64/games/psemu\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o AboutDlg.o AboutDlg.c make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/gui' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z,relro -o pcsxr LnxMain.o Plugin.o Config.o GtkGui.o MemcardDlg.o ConfDlg.o Cheat.o DebugMemory.o AboutDlg.o ../libpcsxcore/libpcsxcore.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpthread -lz -lm -lXext -lXtst -ldl libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -o pcsxr LnxMain.o Plugin.o Config.o GtkGui.o MemcardDlg.o ConfDlg.o Cheat.o DebugMemory.o AboutDlg.o ../libpcsxcore/libpcsxcore.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpthread -lz -lm -lXext -lXtst -ldl make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/gui' Making all in plugins/dfinput make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o sdljoy.lo sdljoy.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c sdljoy.c -fPIC -DPIC -o .libs/sdljoy.o sdljoy.c: In function 'InitSDLJoy': sdljoy.c:87:13: warning: unused variable 'emukeydev' [-Wunused-variable] uint8_t emukeydev; ^~~~~~~~~ At top level: sdljoy.c:22:25: warning: 'haptic_rumbleEffect' defined but not used [-Wunused-variable] static SDL_HapticEffect haptic_rumbleEffect; ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o pad.lo pad.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c pad.c -fPIC -DPIC -o .libs/pad.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cfg.lo cfg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c cfg.c -fPIC -DPIC -o .libs/cfg.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o xkb.lo xkb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c xkb.c -fPIC -DPIC -o .libs/xkb.o xkb.c: In function 'InitKeyboard': xkb.c:49:55: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Window {aka long unsigned int}' [-Wformat=] snprintf(buf, 64, "xdg-screensaver suspend 0x%x > /dev/null 2>&1", window); ~^ %lx xkb.c:52:45: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] printf("Suspending Window ID 0x%x of activating screensaver.\n", window); ~^ %lx xkb.c: In function 'DestroyKeyboard': xkb.c:81:39: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Window {aka long unsigned int}' [-Wformat=] printf("Resuming Window ID 0x%x to activate screensaver.\n", window); ~^ %lx xkb.c:82:54: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Window {aka long unsigned int}' [-Wformat=] snprintf(buf, 64, "xdg-screensaver resume 0x%x", window); ~^ %lx make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o util.lo util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c util.c -fPIC -DPIC -o .libs/util.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cfg-gtk.o cfg-gtk.c cfg-gtk.c: In function 'UpdateKeyList': cfg-gtk.c:246:3: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27:0, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from cfg-gtk.c:23: /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfg-gtk.c: In function 'TreeSelectionChanged': cfg-gtk.c:298:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ cfg-gtk.c: In function 'ReadDKeyEvent': cfg-gtk.c:435:24: warning: pointer targets in passing argument 2 of 'XQueryKeymap' differ in signedness [-Wpointer-sign] XQueryKeymap(g.Disp, buttons); ^~~~~~~ In file included from pad.h:48:0, from cfg.c:19, from cfg-gtk.c:19: /usr/include/X11/Xlib.h:2978:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int XQueryKeymap( ^~~~~~~~~~~~ cfg-gtk.c: In function 'ReadAnalogEvent': cfg-gtk.c:526:24: warning: pointer targets in passing argument 2 of 'XQueryKeymap' differ in signedness [-Wpointer-sign] XQueryKeymap(g.Disp, buttons); ^~~~~~~ In file included from pad.h:48:0, from cfg.c:19, from cfg-gtk.c:19: /usr/include/X11/Xlib.h:2978:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int XQueryKeymap( ^~~~~~~~~~~~ cfg-gtk.c:458:12: warning: unused variable 'ge' [-Wunused-variable] GdkEvent *ge; ^~ cfg-gtk.c: In function 'PopulateDevList': cfg-gtk.c:610:65: warning: passing argument 1 of 'SDL_JoystickName' makes pointer from integer without a cast [-Wint-conversion] snprintf(buf, sizeof(buf), "%d: %s", j + 1, SDL_JoystickName(j)); ^ In file included from /usr/include/SDL2/SDL_events.h:36:0, from /usr/include/SDL2/SDL.h:41, from pad.h:37, from cfg.c:19, from cfg-gtk.c:19: /usr/include/SDL2/SDL_joystick.h:195:37: note: expected 'SDL_Joystick * {aka struct _SDL_Joystick *}' but argument is of type 'int' extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick * joystick); ^~~~~~~~~~~~~~~~ cfg-gtk.c: In function 'UpdateKeyList': cfg-gtk.c:230:3: warning: 'total' may be used uninitialized in this function [-Wmaybe-uninitialized] for (j = 0; j < total; j++) { ^~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o analog.lo analog.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -I../../libpcsxcore -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c analog.c -fPIC -DPIC -o .libs/analog.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -module -avoid-version -Wl,-z,relro -o libDFInput.la -rpath /usr/lib64/games/psemu/ cfg.lo pad.lo sdljoy.lo xkb.lo analog.lo util.lo -lpthread -lX11 -lSDL2 -ldl libtool: link: gcc -shared -fPIC -DPIC .libs/cfg.o .libs/pad.o .libs/sdljoy.o .libs/xkb.o .libs/analog.o .libs/util.o -lpthread -lX11 -lSDL2 -ldl -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,libDFInput.so -o .libs/libDFInput.so libtool: link: ( cd ".libs" && rm -f "libDFInput.la" && ln -s "../libDFInput.la" "libDFInput.la" ) make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z,relro -o cfgDFInput cfg-gtk.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSDL2 -lX11 -ldl libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -o cfgDFInput cfg-gtk.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSDL2 -lX11 -ldl make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfinput' Making all in plugins/dfsound make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-adsr.lo `test -f 'adsr.c' || echo './'`adsr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c adsr.c -fPIC -DPIC -o .libs/libDFSound_la-adsr.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-cfg.lo `test -f 'cfg.c' || echo './'`cfg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c cfg.c -fPIC -DPIC -o .libs/libDFSound_la-cfg.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-dma.lo `test -f 'dma.c' || echo './'`dma.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c dma.c -fPIC -DPIC -o .libs/libDFSound_la-dma.o dma.c: In function 'SPUreadDMAMem': dma.c:57:10: warning: statement with no effect [-Wunused-value] spuMem[spuAddr>>1]; ~~~~~~^~~~~~~~~~~~ dma.c:66:2: warning: "/*" within comment [-Wcomment] /* Toshiden Subaru "story screen" hack. dma.c:67:2: warning: "/*" within comment [-Wcomment] /* dma.c:68:2: warning: "/*" within comment [-Wcomment] /* After character selection screen, the game checks values inside returned dma.c:69:2: warning: "/*" within comment [-Wcomment] /* SPU buffer and all values cannot be 0x0. dma.c:70:2: warning: "/*" within comment [-Wcomment] /* Due to XA timings(?) we return buffer that has only NULLs. dma.c:71:2: warning: "/*" within comment [-Wcomment] /* Setting little lag to MixXA() causes buffer to have some non-NULL values, dma.c:72:2: warning: "/*" within comment [-Wcomment] /* but causes garbage sound so this hack is preferable. dma.c:73:2: warning: "/*" within comment [-Wcomment] /* dma.c:74:2: warning: "/*" within comment [-Wcomment] /* Note: When messing with xa.c like fixing Suikoden II's demo video sound issue dma.c:75:2: warning: "/*" within comment [-Wcomment] /* this should be handled as well. make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-freeze.lo `test -f 'freeze.c' || echo './'`freeze.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c freeze.c -fPIC -DPIC -o .libs/libDFSound_la-freeze.o freeze.c: In function 'LoadStateUnknown': freeze.c:220:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_chan[i].pLoop=(unsigned char *)((int)spuMemC+4096); ^ freeze.c:220:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_chan[i].pLoop=(unsigned char *)((int)spuMemC+4096); ^ freeze.c:221:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_chan[i].pStart=(unsigned char *)((int)spuMemC+4096); ^ freeze.c:221:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_chan[i].pStart=(unsigned char *)((int)spuMemC+4096); ^ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-reverb.lo `test -f 'reverb.c' || echo './'`reverb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c reverb.c -fPIC -DPIC -o .libs/libDFSound_la-reverb.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cfgDFSound-main.o `test -f 'spucfg-0.1df/main.c' || echo './'`spucfg-0.1df/main.c spucfg-0.1df/main.c: In function 'OnConfigClose': spucfg-0.1df/main.c:50:21: warning: passing argument 1 of 'gtk_widget_destroy' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_destroy(gtk_builder_get_object(builder, "CfgWnd")); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from spucfg-0.1df/main.c:9: /usr/include/gtk-3.0/gtk/gtkwidget.h:619:9: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'GObject * {aka struct _GObject *}' void gtk_widget_destroy (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~ spucfg-0.1df/main.c: In function 'main': spucfg-0.1df/main.c:106:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] MainWindow = gtk_builder_get_object(builder, "CfgWnd"); ^ spucfg-0.1df/main.c:225:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "CfgWnd"); ^ spucfg-0.1df/main.c:229:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "btn_close"); ^ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-externals.lo `test -f 'externals.c' || echo './'`externals.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c externals.c -fPIC -DPIC -o .libs/libDFSound_la-externals.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-registers.lo `test -f 'registers.c' || echo './'`registers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c registers.c -fPIC -DPIC -o .libs/libDFSound_la-registers.o In file included from registers.c:25:0: reverb.h:19:20: warning: 'StartREVERB' declared 'static' but never defined [-Wunused-function] static INLINE void StartREVERB(int ch); ^~~~~~~~~~~ reverb.h:20:20: warning: 'StoreREVERB' declared 'static' but never defined [-Wunused-function] static INLINE void StoreREVERB(int ch,int ns); ^~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-xa.lo `test -f 'xa.c' || echo './'`xa.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c xa.c -fPIC -DPIC -o .libs/libDFSound_la-xa.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-sdl.lo `test -f 'sdl.c' || echo './'`sdl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c sdl.c -fPIC -DPIC -o .libs/libDFSound_la-sdl.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o libDFSound_la-spu.lo `test -f 'spu.c' || echo './'`spu.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DUSESDL=1 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c spu.c -fPIC -DPIC -o .libs/libDFSound_la-spu.o In file included from spu.c:167:0: reverb.c: In function 's_buffer': reverb.c:169:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(iVal<-32768L) iVal=-32768L;if(iVal>32767L) iVal=32767L; ^~ reverb.c:169:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(iVal<-32768L) iVal=-32768L;if(iVal>32767L) iVal=32767L; ^~ reverb.c: In function 's_buffer1': reverb.c:181:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(iVal<-32768L) iVal=-32768L;if(iVal>32767L) iVal=32767L; ^~ reverb.c:181:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(iVal<-32768L) iVal=-32768L;if(iVal>32767L) iVal=32767L; ^~ spu.c: In function 'MAINThread': spu.c:971:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (dl < -32767) dl = -32767; if (dl > 32767) dl = 32767; ^~ spu.c:971:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dl < -32767) dl = -32767; if (dl > 32767) dl = 32767; ^~ spu.c:976:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (dr < -32767) dr = -32767; if (dr > 32767) dr = 32767; ^~ spu.c:976:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dr < -32767) dr = -32767; if (dr > 32767) dr = 32767; ^~ spu.c:1028:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(d<-32767) d=-32767;if(d>32767) d=32767; ^~ spu.c:1028:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(d<-32767) d=-32767;if(d>32767) d=32767; ^~ spu.c:1034:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(d<-32767) d=-32767;if(d>32767) d=32767; ^~ spu.c:1034:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(d<-32767) d=-32767;if(d>32767) d=32767; ^~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z,relro -o cfgDFSound cfgDFSound-main.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ldl libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -o cfgDFSound cfgDFSound-main.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ldl make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -module -avoid-version -Wl,-z,relro -o libDFSound.la -rpath /usr/lib64/games/psemu/ libDFSound_la-adsr.lo libDFSound_la-spu.lo libDFSound_la-cfg.lo libDFSound_la-dma.lo libDFSound_la-freeze.lo libDFSound_la-reverb.lo libDFSound_la-registers.lo libDFSound_la-externals.lo libDFSound_la-xa.lo libDFSound_la-sdl.lo -lpthread -lm -lSDL2 -ldl libtool: link: gcc -shared -fPIC -DPIC .libs/libDFSound_la-adsr.o .libs/libDFSound_la-spu.o .libs/libDFSound_la-cfg.o .libs/libDFSound_la-dma.o .libs/libDFSound_la-freeze.o .libs/libDFSound_la-reverb.o .libs/libDFSound_la-registers.o .libs/libDFSound_la-externals.o .libs/libDFSound_la-xa.o .libs/libDFSound_la-sdl.o -lpthread -lm -lSDL2 -ldl -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-soname -Wl,libDFSound.so -o .libs/libDFSound.so libtool: link: ( cd ".libs" && rm -f "libDFSound.la" && ln -s "../libDFSound.la" "libDFSound.la" ) make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfsound' Making all in plugins/dfxvideo make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o cfg.lo cfg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c cfg.c -fPIC -DPIC -o .libs/cfg.o cfg.c: In function 'ReadConfigFile': cfg.c:88:27: warning: variable 'len' set but not used [-Wunused-but-set-variable] FILE *in;char t[256];int len, size; ^~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o gpu.lo gpu.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c gpu.c -fPIC -DPIC -o .libs/gpu.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o main.o `test -f 'gpucfg-0.1df/main.c' || echo './'`gpucfg-0.1df/main.c gpucfg-0.1df/main.c: In function 'on_fullscreen_toggled': gpucfg-0.1df/main.c:64:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] check = gtk_builder_get_object(builder, "checkFullscreen"); ^ gpucfg-0.1df/main.c:65:12: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] resCombo2 = gtk_builder_get_object(builder, "resCombo2"); ^ gpucfg-0.1df/main.c:67:68: warning: passing argument 1 of 'gtk_toggle_button_get_active' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_set_sensitive(resCombo2, !gtk_toggle_button_get_active(check)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcheckbutton.h:33:0, from /usr/include/gtk-3.0/gtk/gtk.h:71, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtktogglebutton.h:89:12: note: expected 'GtkToggleButton * {aka struct _GtkToggleButton *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c: In function 'on_use_fixes_toggled': gpucfg-0.1df/main.c:73:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] check = gtk_builder_get_object(builder,"checkUseFixes"); ^ gpucfg-0.1df/main.c:75:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] table_fixes = gtk_builder_get_object(builder,"table_fixes"); ^ gpucfg-0.1df/main.c:79:43: warning: passing argument 1 of 'gtk_toggle_button_get_active' from incompatible pointer type [-Wincompatible-pointer-types] (gpointer)gtk_toggle_button_get_active (check)); ^~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcheckbutton.h:33:0, from /usr/include/gtk-3.0/gtk/gtk.h:71, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtktogglebutton.h:89:12: note: expected 'GtkToggleButton * {aka struct _GtkToggleButton *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c:79:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (gpointer)gtk_toggle_button_get_active (check)); ^ gpucfg-0.1df/main.c: In function 'on_fps_toggled': gpucfg-0.1df/main.c:86:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] checkSetFPS = gtk_builder_get_object(builder, "checkSetFPS"); ^ gpucfg-0.1df/main.c:87:20: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] checkAutoFPSLimit = gtk_builder_get_object(builder, "checkAutoFPSLimit"); ^ gpucfg-0.1df/main.c:88:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] entryFPS = gtk_builder_get_object(builder, "entryFPS"); ^ gpucfg-0.1df/main.c:91:38: warning: passing argument 1 of 'gtk_toggle_button_get_active' from incompatible pointer type [-Wincompatible-pointer-types] gtk_toggle_button_get_active(checkSetFPS) && ^~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcheckbutton.h:33:0, from /usr/include/gtk-3.0/gtk/gtk.h:71, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtktogglebutton.h:89:12: note: expected 'GtkToggleButton * {aka struct _GtkToggleButton *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c:92:39: warning: passing argument 1 of 'gtk_toggle_button_get_active' from incompatible pointer type [-Wincompatible-pointer-types] !gtk_toggle_button_get_active(checkAutoFPSLimit)); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcheckbutton.h:33:0, from /usr/include/gtk-3.0/gtk/gtk.h:71, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtktogglebutton.h:89:12: note: expected 'GtkToggleButton * {aka struct _GtkToggleButton *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c:93:75: warning: passing argument 1 of 'gtk_toggle_button_get_active' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_set_sensitive(checkAutoFPSLimit, gtk_toggle_button_get_active(checkSetFPS)); ^~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcheckbutton.h:33:0, from /usr/include/gtk-3.0/gtk/gtk.h:71, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtktogglebutton.h:89:12: note: expected 'GtkToggleButton * {aka struct _GtkToggleButton *}' but argument is of type 'GtkWidget * {aka struct _GtkWidget *}' gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c: In function 'OnConfigClose': gpucfg-0.1df/main.c:98:21: warning: passing argument 1 of 'gtk_widget_destroy' from incompatible pointer type [-Wincompatible-pointer-types] gtk_widget_destroy(gtk_builder_get_object(builder, "CfgWnd")); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtkwidget.h:619:9: note: expected 'GtkWidget * {aka struct _GtkWidget *}' but argument is of type 'GObject * {aka struct _GObject *}' void gtk_widget_destroy (GtkWidget *widget); ^~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c: In function 'main': gpucfg-0.1df/main.c:275:22: warning: passing argument 1 of 'gtk_entry_set_text' from incompatible pointer type [-Wincompatible-pointer-types] gtk_entry_set_text(gtk_builder_get_object(builder, "entryFPS"),tempstr); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:29:0, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtkentry.h:253:12: note: expected 'GtkEntry * {aka struct _GtkEntry *}' but argument is of type 'GObject * {aka struct _GObject *}' void gtk_entry_set_text (GtkEntry *entry, ^~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c:303:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "CfgWnd"); ^ gpucfg-0.1df/main.c:307:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "btn_close"); ^ gpucfg-0.1df/main.c:311:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "checkFullscreen"); ^ gpucfg-0.1df/main.c:315:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "checkUseFixes"); ^ gpucfg-0.1df/main.c:319:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "checkSetFPS"); ^ gpucfg-0.1df/main.c:323:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] widget = gtk_builder_get_object(builder, "checkAutoFPSLimit"); ^ gpucfg-0.1df/main.c:105:14: warning: unused variable 'CfgWnd' [-Wunused-variable] GtkWidget *CfgWnd, *widget; ^~~~~~ gpucfg-0.1df/main.c: In function 'SaveConfig': gpucfg-0.1df/main.c:425:32: warning: passing argument 1 of 'gtk_entry_get_text' from incompatible pointer type [-Wincompatible-pointer-types] val = atof(gtk_entry_get_text(gtk_builder_get_object(builder, "entryFPS"))) * 10; ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:29:0, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42, from gpucfg-0.1df/main.c:1: /usr/include/gtk-3.0/gtk/gtkentry.h:257:14: note: expected 'GtkEntry * {aka struct _GtkEntry *}' but argument is of type 'GObject * {aka struct _GObject *}' const gchar* gtk_entry_get_text (GtkEntry *entry); ^~~~~~~~~~~~~~~~~~ gpucfg-0.1df/main.c:375:15: warning: unused variable 'buf' [-Wunused-variable] struct stat buf; ^~~ gpucfg-0.1df/main.c:371:16: warning: variable 'len' set but not used [-Wunused-but-set-variable] FILE *in;int len,val;char * pB; ^~~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o fps.lo fps.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c fps.c -fPIC -DPIC -o .libs/fps.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o key.lo key.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c key.c -fPIC -DPIC -o .libs/key.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o menu.lo menu.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c menu.c -fPIC -DPIC -o .libs/menu.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o zn.lo zn.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c zn.c -fPIC -DPIC -o .libs/zn.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z,relro -o cfgDFXVideo main.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lXext -ldl libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -o cfgDFXVideo main.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lXext -ldl make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o prim.lo prim.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c prim.c -fPIC -DPIC -o .libs/prim.o prim.c:211:1: warning: multi-line comment [-Wcomment] // \ / \ ^ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/dfxvideo' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o soft.lo soft.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c soft.c -fPIC -DPIC -o .libs/soft.o soft.c: In function 'DrawSoftwareSpriteMirror': soft.c:7535:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(sprCY=0;sprCYiResY) dy=iResY-y; ^~ gpu.c:2515:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(y<0) y=0; if((y+dy)>iResY) dy=iResY-y; ^~ gpu.c: In function 'CheckVRamRead': gpu.c:2663:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(y<0) y=0; if((y+dy)>iResY) dy=iResY-y; ^~ gpu.c:2663:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(y<0) y=0; if((y+dy)>iResY) dy=iResY-y; ^~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o gte_accuracy.lo gte_accuracy.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c gte_accuracy.c -fPIC -DPIC -o .libs/gte_accuracy.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z,relro -o cfgpeopsxgl main.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ldl libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -o cfgpeopsxgl main.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ldl make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o prim.lo prim.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c prim.c -fPIC -DPIC -o .libs/prim.o make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o texture.lo texture.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c texture.c -fPIC -DPIC -o .libs/texture.o texture.c: In function 'InvalidateWndTextureArea': texture.c:717:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X<0) X=0;if(X>1023) X=1023; ^~ texture.c:717:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X<0) X=0;if(X>1023) X=1023; ^~ texture.c:718:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(W<0) W=0;if(W>1023) W=1023; ^~ texture.c:718:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(W<0) W=0;if(W>1023) W=1023; ^~ texture.c:719:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Y<0) Y=0;if(Y>iGPUHeightMask) Y=iGPUHeightMask; ^~ texture.c:719:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Y<0) Y=0;if(Y>iGPUHeightMask) Y=iGPUHeightMask; ^~ texture.c:720:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(H<0) H=0;if(H>iGPUHeightMask) H=iGPUHeightMask; ^~ texture.c:720:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(H<0) H=0;if(H>iGPUHeightMask) H=iGPUHeightMask; ^~ texture.c: In function 'InvalidateSubSTextureArea': texture.c:810:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(X<0) X=0;if(X>1023) X=1023; ^~ texture.c:810:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(X<0) X=0;if(X>1023) X=1023; ^~ texture.c:811:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(W<0) W=0;if(W>1023) W=1023; ^~ texture.c:811:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(W<0) W=0;if(W>1023) W=1023; ^~ texture.c:812:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Y<0) Y=0;if(Y>iGPUHeightMask) Y=iGPUHeightMask; ^~ texture.c:812:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(Y<0) Y=0;if(Y>iGPUHeightMask) Y=iGPUHeightMask; ^~ texture.c:813:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(H<0) H=0;if(H>iGPUHeightMask) H=iGPUHeightMask; ^~ texture.c:813:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(H<0) H=0;if(H>iGPUHeightMask) H=iGPUHeightMask; ^~ texture.c:853:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ texture.c:856:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ texture.c: In function 'LoadStretchPackedWndTexturePage': texture.c:1005:15: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-(g_x2-g_x1)); ~~^~ texture.c:1082:15: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-(g_x2-g_x1)); ~~^~ texture.c: In function 'LoadStretchWndTexturePage': texture.c:1207:15: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-(g_x2-g_x1)); ~~^~ texture.c:1291:15: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-(g_x2-g_x1)); ~~^~ texture.c: In function 'LoadTextureMovieFast': texture.c:2116:15: warning: variable 'start' set but not used [-Wunused-but-set-variable] unsigned int start,startxy; ^~~~~ texture.c: In function 'LoadTextureMovie': texture.c:2250:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2256:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ texture.c:2257:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2276:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ texture.c:2299:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2305:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ texture.c:2306:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2324:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ texture.c:2350:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2356:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ texture.c:2357:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2376:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ texture.c:2397:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2404:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ texture.c:2405:13: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-1); ~~^~ texture.c:2421:14: warning: operation on 'ta' may be undefined [-Wsequence-point] *ta++=*(ta-dx); ~~^~ make[1]: Leaving directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' make[1]: Entering directory '/builddir/build/BUILD/pcsxr/plugins/peopsxgl' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c -o soft.lo soft.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -DPIXMAPDIR=\"/usr/share/pixmaps/\" -DLOCALE_DIR=\"/usr/share/locale/\" -DDATADIR=\"/usr/share/psemu/\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I../../libpcsxcore -I../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -c soft.c -fPIC -DPIC -o .libs/soft.o soft.c: In function 'DrawSoftwareSpriteMirror': soft.c:7453:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(sprCY=0;sprCY