* Package: games-emulation/visualboyadvance-1.7.2-r4 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying 1.7.2-homedir.patch ... [ ok ] * Applying 1.7.2-gcc34.patch ... [ ok ] * Applying 1.7.2-gcc41.patch ... [ ok ] * Applying visualboyadvance-1.7.2-gcc47.patch ... [ ok ] * Applying visualboyadvance-1.7.2-deprecatedsigc++.patch ... [ ok ] * Applying visualboyadvance-1.7.2-uninit.patch ... [ ok ] * Applying visualboyadvance-1.7.2-glibc2.10.patch ... [ ok ] * Applying visualboyadvance-1.7.2-ovflfix.patch ... [ ok ] * Applying visualboyadvance-1.7.2-libpng15.patch ... [ ok ] * Applying visualboyadvance-1.7.2-zlib.patch ... [ ok ] * Applying visualboyadvance-1.7.2-zlib-1.2.6.patch ... [ ok ] * Applying visualboyadvance-1.7.2-sys-types.patch ... [ ok ] * Applying visualboyadvance-1.7.2-libsigc26.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2' ... * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: VisualBoyAdvance-1.7.2/ checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for nasm... no checking for gzopen in -lz... yes checking for png_create_write_struct in -lpng... yes checking for pthread_yield in -lpthread... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... libraries , headers checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes 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 malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking zutil.h usability... no checking zutil.h presence... no checking for zutil.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for socklen_t... yes checking whether byte ordering is bigendian... no checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.2... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: creating src/gb/Makefile config.status: creating src/gtk/Makefile config.status: creating src/gtk/images/Makefile config.status: creating src/i386/Makefile config.status: creating src/prof/Makefile config.status: creating src/sdl/Makefile config.status: creating win32/Makefile config.status: executing depfiles commands Making all in m4 make[1]: Entering directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/m4' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/m4' Making all in src make[1]: Entering directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src' Making all in gb make[2]: Entering directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src/gb' x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbCheats.o gbCheats.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o GB.o GB.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbDis.o gbDis.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbGfx.o gbGfx.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbGlobals.o gbGlobals.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbMemory.o gbMemory.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbPrinter.o gbPrinter.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSGB.o gbSGB.cpp gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] { "B", "C", "D", "E", "H", "L", "(HL)", "A" }; ^ gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] "BC", "DE", "HL", "AF" }; // for push/pop ^ gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] { "NZ", "Z", "NC", "C" }; ^ gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] }; ^ gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] }; ^ gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gbSound.o gbSound.cpp gbCheats.cpp: In function ‘bool gbCheatReadGSCodeFile(const char*)’: gbCheats.cpp:406:28: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&count, 1, 2, file); ^ gbCheats.cpp:413:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&dummy, 1, 2, file); ^ gbCheats.cpp:414:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(desc, 1, 12, file); ^ gbCheats.cpp:416:28: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(code, 1, 8, file); ^ GB.cpp: In function ‘bool gbWriteMemSaveState(char*, int)’: GB.cpp:2157:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gzFile gzFile = utilMemGzOpen(memory, available, "w"); ^ GB.cpp: In function ‘bool gbReadMemSaveState(char*, int)’: GB.cpp:2357:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gzFile gzFile = utilMemGzOpen(memory, available, "r"); ^ GB.cpp: In function ‘bool gbReadGSASnapshot(const char*)’: GB.cpp:1984:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, 15, file); ^ rm -f libgb.a ar cru libgb.a gbCheats.o GB.o gbDis.o gbGfx.o gbGlobals.o gbMemory.o gbPrinter.o gbSGB.o gbSound.o x86_64-pc-linux-gnu-ranlib libgb.a make[2]: Leaving directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src/gb' Making all in prof make[2]: Entering directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src/prof' x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o prof.o prof.cpp prof.cpp: In function ‘void profCount()’: prof.cpp:295:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] selfpc = (char *) reg[14].I; ^ prof.cpp:298:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] frompcindex = (unsigned short *) reg[12].I; ^ rm -f libprof.a ar cru libprof.a prof.o x86_64-pc-linux-gnu-ranlib libprof.a make[2]: Leaving directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src/prof' Making all in sdl make[2]: Entering directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src/sdl' x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o SDL.o SDL.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o debugger.o debugger.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o 2xSaI.o `test -f '../2xSaI.cpp' || echo './'`../2xSaI.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Cheats.o `test -f '../Cheats.cpp' || echo './'`../Cheats.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o EEprom.o `test -f '../EEprom.cpp' || echo './'`../EEprom.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Flash.o `test -f '../Flash.cpp' || echo './'`../Flash.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o GBA.o `test -f '../GBA.cpp' || echo './'`../GBA.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Gfx.o `test -f '../Gfx.cpp' || echo './'`../Gfx.cpp debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] }; ^ debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debugger.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Globals.o `test -f '../Globals.cpp' || echo './'`../Globals.cpp debugger.cpp: In function ‘void debuggerPrintEnum(Type*, u32)’: debugger.cpp:436:21: error: format not a string literal and no format arguments [-Werror=format-security] printf(m->name); ^ debugger.cpp: In function ‘void debuggerSymbols(int, char**)’: debugger.cpp:534:18: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] char *ts = "?"; ^ debugger.cpp:537:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ts = "ARM"; ^ debugger.cpp:540:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ts = "THUMB"; ^ debugger.cpp:543:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ts = "DATA"; ^ debugger.cpp: In function ‘void debuggerDebug(int, char**)’: debugger.cpp:672:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("trace"); ^ debugger.cpp: In function ‘void debuggerVerbose(int, char**)’: debugger.cpp:683:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("verbose"); ^ debugger.cpp: In function ‘void debuggerBreakDelete(int, char**)’: debugger.cpp:823:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("bd"); ^ debugger.cpp: In function ‘void debuggerBreak(int, char**)’: debugger.cpp:914:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("break"); ^ debugger.cpp: In function ‘void debuggerBreakThumb(int, char**)’: debugger.cpp:930:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("bt"); ^ debugger.cpp: In function ‘void debuggerBreakArm(int, char**)’: debugger.cpp:946:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("ba"); ^ debugger.cpp: In function ‘void debuggerBreakWrite(int, char**)’: debugger.cpp:1016:24: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("bpw"); ^ debugger.cpp: In function ‘void debuggerRegisters(int, char**)’: debugger.cpp:1125:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] command[0]="m"; ^ debugger.cpp:1127:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] command[2]="1"; ^ debugger.cpp: In function ‘void debuggerEditByte(int, char**)’: debugger.cpp:1240:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("eb"); ^ debugger.cpp: In function ‘void debuggerEditHalfWord(int, char**)’: debugger.cpp:1256:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("eh"); ^ debugger.cpp: In function ‘void debuggerEdit(int, char**)’: debugger.cpp:1272:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("ew"); ^ debugger.cpp: In function ‘void debuggerMemoryByte(int, char**)’: debugger.cpp:1311:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("mb"); ^ debugger.cpp: In function ‘void debuggerMemoryHalfWord(int, char**)’: debugger.cpp:1348:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("mh"); ^ debugger.cpp: In function ‘void debuggerMemory(int, char**)’: debugger.cpp:1388:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] debuggerUsage("mw"); ^ debugger.cpp: In function ‘void debuggerOutput(char*, u32)’: debugger.cpp:1406:13: error: format not a string literal and no format arguments [-Werror=format-security] printf(s); ^ ../Cheats.cpp: In function ‘void cheatsAddCBACode(const char*, const char*)’: ../Cheats.cpp:1347:13: warning: narrowing conversion of ‘(address & 255u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } [-Wnarrowing] address & 255, ^ ../Cheats.cpp:1348:20: warning: narrowing conversion of ‘((address >> 8) & 255u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } [-Wnarrowing] (address >> 8) & 255, ^ ../Cheats.cpp:1349:21: warning: narrowing conversion of ‘((address >> 16) & 255u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } [-Wnarrowing] (address >> 16) & 255, ^ ../Cheats.cpp:1350:21: warning: narrowing conversion of ‘(address >> 24)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } [-Wnarrowing] (address >> 24) & 255, ^ ../Cheats.cpp:1351:12: warning: narrowing conversion of ‘(value & 255u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } [-Wnarrowing] (value & 255), ^ ../Cheats.cpp:1352:18: warning: narrowing conversion of ‘((value >> 8) & 255u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } [-Wnarrowing] (value >> 8) & 255, ^ ../Cheats.cpp: In function ‘bool cheatsImportGSACodeFile(const char*, int, bool)’: ../Cheats.cpp:942:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&games, 1, 4, f); ^ ../Cheats.cpp:950:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&len, 1, 4, f); ^ ../Cheats.cpp:953:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&codes, 1, 4, f); ^ ../Cheats.cpp:955:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&len, 1, 4, f); ^ ../Cheats.cpp:958:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&len, 1, 4, f); ^ ../Cheats.cpp:968:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&len, 1, 4, f); ^ ../Cheats.cpp:971:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&codes, 1, 4, f); ^ ../Cheats.cpp:973:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&len, 1, 4, f); ^ ../Cheats.cpp:974:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(desc, 1, len, f); ^ ../Cheats.cpp:977:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&len, 1, 4, f); ^ ../Cheats.cpp:980:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&len, 1, 4, f); ^ ../Cheats.cpp:983:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(code, 1, 8, f); ^ ../Cheats.cpp:985:33: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&code[8], 1, 8, f); ^ debugger.cpp: In function ‘void debuggerQuit(int, char**)’: debugger.cpp:1395:39: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer), stdin); ^ x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode0.o `test -f '../Mode0.cpp' || echo './'`../Mode0.cpp SDL.cpp: In function ‘void sdlPollEvents()’: SDL.cpp:1795:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] "autofire L disabled"}; ^ SDL.cpp:1795:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] SDL.cpp:1795:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] SDL.cpp:1795:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] SDL.cpp:1800:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] "autofire L"}; ^ SDL.cpp:1800:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] SDL.cpp:1800:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] SDL.cpp:1800:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode1.o `test -f '../Mode1.cpp' || echo './'`../Mode1.cpp ../GBA.cpp: In function ‘bool CPUWriteMemState(char*, int)’: ../GBA.cpp:677:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gzFile gzFile = utilMemGzOpen(memory, available, "w"); ^ ../GBA.cpp: In function ‘bool CPUReadMemState(char*, int)’: ../GBA.cpp:820:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] gzFile gzFile = utilMemGzOpen(memory, available, "r"); ^ x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode2.o `test -f '../Mode2.cpp' || echo './'`../Mode2.cpp ../GBA.cpp: In function ‘bool CPUReadGSASnapshot(const char*)’: ../GBA.cpp:931:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&i, 1, 4, file); ^ ../GBA.cpp:934:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&i, 1, 4, file); // name length ^ ../GBA.cpp:936:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&i, 1, 4, file); // desc length ^ ../GBA.cpp:938:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&i, 1, 4, file); // notes length ^ ../GBA.cpp:941:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(&saveSize, 1, 4, file); // read length ^ ../GBA.cpp:945:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, 16, file); ^ x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -Wformat -Werror=format-security -g0 -O2 -std=c++11 -DC_CORE -DPROFILING -DDEV_VERSION -c -o Mode3.o `test -f '../Mode3.cpp' || echo './'`../Mode3.cpp cc1plus: some warnings being treated as errors Makefile:688: recipe for target 'debugger.o' failed make[2]: *** [debugger.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src/sdl' Makefile:426: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2/src' Makefile:396: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 * ERROR: games-emulation/visualboyadvance-1.7.2-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-emulation/visualboyadvance-1.7.2-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/visualboyadvance-1.7.2-r4::gentoo'`. * The complete build log is located at '/var/log/log/build/games-emulation/visualboyadvance-1.7.2-r4:20160131-160916.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2' * S: '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r4/work/VisualBoyAdvance-1.7.2'