+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snes9x-1.62.3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snes9x-1.62.3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for snes9x-1.62.3 c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../apu/apu.cpp -o ../apu/apu.o c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../apu/bapu/dsp/sdsp.cpp -o ../apu/bapu/dsp/sdsp.o In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../apu/../stream.h:52, from ../apu/../snes9x.h:43, from ../apu/apu.cpp:9: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../apu/bapu/dsp/../snes/../../../stream.h:52, from ../apu/bapu/dsp/../snes/../../../snes9x.h:43, from ../apu/bapu/dsp/../snes/snes.hpp:4, from ../apu/bapu/dsp/sdsp.cpp:1: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ In file included from ../apu/bapu/dsp/SPC_DSP.cpp:7:0, from ../apu/bapu/dsp/sdsp.cpp:8: ../apu/bapu/dsp/SPC_DSP.cpp: In member function 'int SNES::SPC_State_Copier::copy_int(int, int)': ../apu/bapu/dsp/blargg_endian.h:129:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SET_LE16( addr, data ) (void) (*(BOOST::uint16_t*) (addr) = (data)) ^ ../apu/bapu/dsp/SPC_DSP.cpp:1280:2: note: in expansion of macro 'SET_LE16' SET_LE16( s, state ); ^ ../apu/bapu/dsp/blargg_endian.h:127:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define GET_LE16( addr ) (*(BOOST::uint16_t*) (addr)) ^ ../apu/bapu/dsp/SPC_DSP.cpp:1282:9: note: in expansion of macro 'GET_LE16' return GET_LE16( s ); ^ c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../apu/bapu/smp/smp.cpp -o ../apu/bapu/smp/smp.o In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../apu/bapu/smp/../snes/../../../stream.h:52, from ../apu/bapu/smp/../snes/../../../snes9x.h:43, from ../apu/bapu/smp/../snes/snes.hpp:4, from ../apu/bapu/smp/smp.cpp:7: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../apu/bapu/smp/smp_state.cpp -o ../apu/bapu/smp/smp_state.o In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../apu/bapu/smp/../snes/../../../stream.h:52, from ../apu/bapu/smp/../snes/../../../snes9x.h:43, from ../apu/bapu/smp/../snes/snes.hpp:4, from ../apu/bapu/smp/smp_state.cpp:1: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../bsx.cpp -o ../bsx.o In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../stream.h:52, from ../snes9x.h:43, from ../bsx.cpp:12: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ In file included from ../bsx.cpp:13:0: ../memmap.h:64:27: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] const size_t SRAM_SIZE = 0x80000; ^ In file included from ../bsx.cpp:12:0: ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:15:40: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 Pitch = sizeof(uint16) * MAX_SNES_WIDTH; ^ ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:16:25: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 RealPPL = MAX_SNES_WIDTH; // true PPL of Screen buffer ^ ../snes9x.h:60:53: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_HEIGHT (SNES_HEIGHT_EXTENDED * 2) ^ ../gfx.h:17:46: note: in expansion of macro 'MAX_SNES_HEIGHT' const uint32 ScreenSize = MAX_SNES_WIDTH * MAX_SNES_HEIGHT; ^ In file included from ../snes9x.h:14:0, from ../bsx.cpp:12: ../ppu.h: In function 'void S9xUpdateVRAMReadBuffer()': ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:245:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((address << 1) & 0xffff)); ^ ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:248:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((PPU.VMA.Address << 1) & 0xffff)); ^ c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../c4.cpp -o ../c4.o In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../stream.h:52, from ../snes9x.h:43, from ../c4.cpp:8: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ In file included from ../c4.cpp:9:0: ../memmap.h:64:27: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] const size_t SRAM_SIZE = 0x80000; ^ In file included from ../c4.cpp:8:0: ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:15:40: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 Pitch = sizeof(uint16) * MAX_SNES_WIDTH; ^ ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:16:25: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 RealPPL = MAX_SNES_WIDTH; // true PPL of Screen buffer ^ ../snes9x.h:60:53: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_HEIGHT (SNES_HEIGHT_EXTENDED * 2) ^ ../gfx.h:17:46: note: in expansion of macro 'MAX_SNES_HEIGHT' const uint32 ScreenSize = MAX_SNES_WIDTH * MAX_SNES_HEIGHT; ^ In file included from ../snes9x.h:14:0, from ../c4.cpp:8: ../ppu.h: In function 'void S9xUpdateVRAMReadBuffer()': ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:245:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((address << 1) & 0xffff)); ^ ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:248:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((PPU.VMA.Address << 1) & 0xffff)); ^ c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../c4emu.cpp -o ../c4emu.o In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../stream.h:52, from ../snes9x.h:43, from ../c4emu.cpp:8: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ In file included from ../c4emu.cpp:9:0: ../memmap.h:64:27: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] const size_t SRAM_SIZE = 0x80000; ^ In file included from ../c4emu.cpp:8:0: ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:15:40: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 Pitch = sizeof(uint16) * MAX_SNES_WIDTH; ^ ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:16:25: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 RealPPL = MAX_SNES_WIDTH; // true PPL of Screen buffer ^ ../snes9x.h:60:53: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_HEIGHT (SNES_HEIGHT_EXTENDED * 2) ^ ../gfx.h:17:46: note: in expansion of macro 'MAX_SNES_HEIGHT' const uint32 ScreenSize = MAX_SNES_WIDTH * MAX_SNES_HEIGHT; ^ In file included from ../snes9x.h:14:0, from ../c4emu.cpp:8: ../ppu.h: In function 'void S9xUpdateVRAMReadBuffer()': ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:245:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((address << 1) & 0xffff)); ^ ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:248:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((PPU.VMA.Address << 1) & 0xffff)); ^ c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../cheats.cpp -o ../cheats.o In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../stream.h:52, from ../snes9x.h:43, from ../cheats.cpp:8: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ In file included from ../cheats.cpp:9:0: ../memmap.h:64:27: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] const size_t SRAM_SIZE = 0x80000; ^ In file included from ../cheats.cpp:8:0: ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:15:40: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 Pitch = sizeof(uint16) * MAX_SNES_WIDTH; ^ ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:16:25: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 RealPPL = MAX_SNES_WIDTH; // true PPL of Screen buffer ^ ../snes9x.h:60:53: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_HEIGHT (SNES_HEIGHT_EXTENDED * 2) ^ ../gfx.h:17:46: note: in expansion of macro 'MAX_SNES_HEIGHT' const uint32 ScreenSize = MAX_SNES_WIDTH * MAX_SNES_HEIGHT; ^ In file included from ../snes9x.h:14:0, from ../cheats.cpp:8: ../ppu.h: In function 'void S9xUpdateVRAMReadBuffer()': ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:245:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((address << 1) & 0xffff)); ^ ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:248:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((PPU.VMA.Address << 1) & 0xffff)); ^ c++ -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/ -c -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/minizip -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pedantic -Wall -W -Wno-unused-parameter -DJOYSTICK_SUPPORT -DNETPLAY_SUPPORT -DZLIB -DUNZIP_SUPPORT -DSYSTEM_ZIP -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_XVIDEO -DUSE_XINERAMA -DALSA -DMITSHM ../cheats2.cpp -o ../cheats2.o ../cheats2.cpp:357:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] uint32 data = std::strtoul(code.c_str(), nullptr, 16); ^ In file included from /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/unzip.h:55:0, from ../stream.h:52, from ../snes9x.h:43, from ../cheats2.cpp:9: /home/pbulk/build/emulators/snes9x/work/.buildlink/include/minizip/ioapi.h:99:23: warning: ISO C++ 1998 does not support 'long long' [-Wlong-long] typedef unsigned long long int ZPOS64_T; ^ In file included from ../cheats2.cpp:10:0: ../memmap.h:64:27: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] const size_t SRAM_SIZE = 0x80000; ^ In file included from ../cheats2.cpp:9:0: ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:15:40: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 Pitch = sizeof(uint16) * MAX_SNES_WIDTH; ^ ../snes9x.h:59:42: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_WIDTH (SNES_WIDTH * 2) ^ ../gfx.h:16:25: note: in expansion of macro 'MAX_SNES_WIDTH' const uint32 RealPPL = MAX_SNES_WIDTH; // true PPL of Screen buffer ^ ../snes9x.h:60:53: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] #define MAX_SNES_HEIGHT (SNES_HEIGHT_EXTENDED * 2) ^ ../gfx.h:17:46: note: in expansion of macro 'MAX_SNES_HEIGHT' const uint32 ScreenSize = MAX_SNES_WIDTH * MAX_SNES_HEIGHT; ^ In file included from ../cheats.h:10:0, from ../cheats2.cpp:8: ../ppu.h: In function 'void S9xUpdateVRAMReadBuffer()': ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:245:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((address << 1) & 0xffff)); ^ ../port.h:174:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define READ_WORD(s) (*(uint16 *) (s)) ^ ../ppu.h:248:24: note: in expansion of macro 'READ_WORD' PPU.VRAMReadBuffer = READ_WORD(Memory.VRAM + ((PPU.VMA.Address << 1) & 0xffff)); ^ ../cheats2.cpp: At global scope: ../cheats2.cpp:200:50: error: expected ',' or '...' before '&&' token static inline std::string trim(const std::string &&string) ^ ../cheats2.cpp: In function 'std::string trim(std::string)': ../cheats2.cpp:202:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto start = string.find_first_not_of(" \t\n\r"); ^ ../cheats2.cpp:202:10: error: 'start' does not name a type auto start = string.find_first_not_of(" \t\n\r"); ^ ../cheats2.cpp:203:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto end = string.find_last_not_of(" \t\n\r"); ^ ../cheats2.cpp:203:10: error: 'end' does not name a type auto end = string.find_last_not_of(" \t\n\r"); ^ ../cheats2.cpp:204:9: error: 'start' was not declared in this scope if (start != std::string::npos && end != std::string::npos) ^ ../cheats2.cpp:204:39: error: 'end' was not declared in this scope if (start != std::string::npos && end != std::string::npos) ^ ../cheats2.cpp:205:16: error: 'string' was not declared in this scope return string.substr(start, end - start + 1); ^ ../cheats2.cpp:205:16: note: suggested alternative: In file included from /usr/include/c++/4.8.2/string:39:0, from ../bml.h:4, from ../cheats2.cpp:7: /usr/include/c++/4.8.2/bits/stringfwd.h:62:33: note: 'std::string' typedef basic_string string; ^ ../cheats2.cpp: In function 'void S9xEnableCheatGroup(uint32)': ../cheats2.cpp:325:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &c : Cheat.group[num].cheat) ^ ../cheats2.cpp:325:16: error: ISO C++ forbids declaration of 'c' with no type [-fpermissive] for (auto &c : Cheat.group[num].cheat) ^ ../cheats2.cpp:325:20: error: range-based 'for' loops are not allowed in C++98 mode for (auto &c : Cheat.group[num].cheat) ^ ../cheats2.cpp:326:25: error: invalid initialization of reference of type 'SCheat&' from expression of type 'int' S9xEnableCheat(c); ^ ../cheats2.cpp:297:6: error: in passing argument 1 of 'void S9xEnableCheat(SCheat&)' void S9xEnableCheat(SCheat &c) ^ ../cheats2.cpp: In function 'void S9xDisableCheatGroup(uint32)': ../cheats2.cpp:333:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &c : Cheat.group[num].cheat) ^ ../cheats2.cpp:333:16: error: ISO C++ forbids declaration of 'c' with no type [-fpermissive] for (auto &c : Cheat.group[num].cheat) ^ ../cheats2.cpp:333:20: error: range-based 'for' loops are not allowed in C++98 mode for (auto &c : Cheat.group[num].cheat) ^ ../cheats2.cpp:334:26: error: invalid initialization of reference of type 'SCheat&' from expression of type 'int' S9xDisableCheat(c); ^ ../cheats2.cpp:250:6: error: in passing argument 1 of 'void S9xDisableCheat(SCheat&)' void S9xDisableCheat(SCheat &c) ^ ../cheats2.cpp: In function 'bool is_all_hex(const string&)': ../cheats2.cpp:341:16: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &c : code) ^ ../cheats2.cpp:341:22: error: ISO C++ forbids declaration of 'c' with no type [-fpermissive] for (const auto &c : code) ^ ../cheats2.cpp:341:26: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &c : code) ^ ../cheats2.cpp: In function 'bool S9xProActionReplayToRaw(const string&, uint32&, uint8&)': ../cheats2.cpp:357:19: error: 'strtoul' is not a member of 'std' uint32 data = std::strtoul(code.c_str(), nullptr, 16); ^ ../cheats2.cpp:357:19: note: suggested alternative: In file included from ../port.h:11:0, from ../cheats.h:10, from ../cheats2.cpp:8: /usr/include/stdlib.h:187:26: note: 'strtoul' extern unsigned long int strtoul (const char *__restrict __nptr, ^ ../cheats2.cpp:357:46: error: 'nullptr' was not declared in this scope uint32 data = std::strtoul(code.c_str(), nullptr, 16); ^ ../cheats2.cpp: In function 'bool S9xGameGenieToRaw(const string&, uint32&, uint8&)': ../cheats2.cpp:376:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto new_code = code.substr(0, 4) + code.substr(5, 4); ^ ../cheats2.cpp:376:10: error: 'new_code' does not name a type auto new_code = code.substr(0, 4) + code.substr(5, 4); ^ ../cheats2.cpp:381:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &c : new_code) ^ ../cheats2.cpp:381:16: error: ISO C++ forbids declaration of 'c' with no type [-fpermissive] for (auto &c : new_code) ^ ../cheats2.cpp:381:20: error: range-based 'for' loops are not allowed in C++98 mode for (auto &c : new_code) ^ ../cheats2.cpp:381:20: error: 'new_code' was not declared in this scope ../cheats2.cpp:395:45: error: 'nullptr' was not declared in this scope uint32 data = strtoul(new_code.c_str(), nullptr, 16); ^ ../cheats2.cpp: In function 'SCheatGroup S9xCreateCheatGroup(const string&, const string&)': ../cheats2.cpp:488:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto cheats = split_string(cheat, '+'); ^ ../cheats2.cpp:488:10: error: 'cheats' does not name a type auto cheats = split_string(cheat, '+'); ^ ../cheats2.cpp:489:16: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (const auto &c : cheats) ^ ../cheats2.cpp:489:22: error: ISO C++ forbids declaration of 'c' with no type [-fpermissive] for (const auto &c : cheats) ^ ../cheats2.cpp:489:26: error: range-based 'for' loops are not allowed in C++98 mode for (const auto &c : cheats) ^ ../cheats2.cpp:489:26: error: 'cheats' was not declared in this scope ../cheats2.cpp:491:44: error: invalid initialization of reference of type 'const string& {aka const std::basic_string&}' from expression of type 'const int' SCheat new_cheat = S9xTextToCheat(c); ^ ../cheats2.cpp:409:8: error: in passing argument 1 of 'SCheat S9xTextToCheat(const string&)' SCheat S9xTextToCheat(const std::string &text) ^ ../cheats2.cpp: In function 'std::string S9xCheatToText(const SCheat&)': ../cheats2.cpp:524:20: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] char output[256]{}; ^ ../cheats2.cpp: In function 'void S9xUpdateCheatsInMemory()': ../cheats2.cpp:573:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &group : Cheat.group) ^ ../cheats2.cpp:573:16: error: ISO C++ forbids declaration of 'group' with no type [-fpermissive] for (auto &group : Cheat.group) ^ ../cheats2.cpp:573:24: error: range-based 'for' loops are not allowed in C++98 mode for (auto &group : Cheat.group) ^ ../cheats2.cpp:574:14: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &cheat : group.cheat) ^ ../cheats2.cpp:574:20: error: ISO C++ forbids declaration of 'cheat' with no type [-fpermissive] for (auto &cheat : group.cheat) ^ ../cheats2.cpp:574:28: error: range-based 'for' loops are not allowed in C++98 mode for (auto &cheat : group.cheat) ^ ../cheats2.cpp:574:34: error: request for member 'cheat' in 'group', which is of non-class type 'int' for (auto &cheat : group.cheat) ^ ../cheats2.cpp:575:41: error: invalid initialization of reference of type 'SCheat&' from expression of type 'int' S9xUpdateCheatInMemory(cheat); ^ ../cheats2.cpp:209:6: error: in passing argument 1 of 'void S9xUpdateCheatInMemory(SCheat&)' void S9xUpdateCheatInMemory(SCheat &c) ^ ../cheats2.cpp: In function 'bool S9xCheatIsDuplicate(const string&, const string&)': ../cheats2.cpp:584:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto code_string = S9xCheatGroupToText(i); ^ ../cheats2.cpp:584:18: error: 'code_string' does not name a type auto code_string = S9xCheatGroupToText(i); ^ ../cheats2.cpp:585:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto validated_string = S9xCheatValidate(code); ^ ../cheats2.cpp:585:18: error: 'validated_string' does not name a type auto validated_string = S9xCheatValidate(code); ^ ../cheats2.cpp:587:17: error: 'validated_string' was not declared in this scope if (validated_string == code_string) ^ ../cheats2.cpp:587:37: error: 'code_string' was not declared in this scope if (validated_string == code_string) ^ ../cheats2.cpp: In function 'void S9xLoadCheatsFromBMLNode(bml_node&)': ../cheats2.cpp:597:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &c : n.child) ^ ../cheats2.cpp:597:16: error: ISO C++ forbids declaration of 'c' with no type [-fpermissive] for (auto &c : n.child) ^ ../cheats2.cpp:597:20: error: range-based 'for' loops are not allowed in C++98 mode for (auto &c : n.child) ^ ../cheats2.cpp:599:26: error: request for member 'name' in 'c', which is of non-class type 'int' if (strcasecmp(c.name.c_str(), "cheat")) ^ ../cheats2.cpp:602:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto subnode = c.find_subnode("code"); ^ ../cheats2.cpp:602:14: error: 'subnode' does not name a type auto subnode = c.find_subnode("code"); ^ ../cheats2.cpp:603:14: error: 'subnode' was not declared in this scope if (!subnode) ^ ../cheats2.cpp:605:28: error: 'subnode' was not declared in this scope std::string code = subnode->data; ^ ../cheats2.cpp:608:21: error: request for member 'find_subnode' in 'c', which is of non-class type 'int' subnode = c.find_subnode("name"); ^ ../cheats2.cpp:613:15: error: request for member 'find_subnode' in 'c', which is of non-class type 'int' if (c.find_subnode("enable")) ^ ../cheats2.cpp:619:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto index = S9xAddCheatGroup(name, code); ^ ../cheats2.cpp:619:14: error: 'index' does not name a type auto index = S9xAddCheatGroup(name, code); ^ ../cheats2.cpp:621:38: error: cannot resolve overloaded function 'index' based on conversion to type 'uint32 {aka unsigned int}' S9xEnableCheatGroup(index); ^ ../cheats2.cpp: In function 'bool8 S9xLoadCheatFileClassic(const string&)': ../cheats2.cpp:644:21: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] char code[32]{}; ^ ../cheats2.cpp: In function 'int S9xImportCheatsFromDatabase(const string&)': ../cheats2.cpp:768:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] for (auto &c : bml.child) ^ ../cheats2.cpp:768:16: error: ISO C++ forbids declaration of 'c' with no type [-fpermissive] for (auto &c : bml.child) ^ ../cheats2.cpp:768:20: error: range-based 'for' loops are not allowed in C++98 mode for (auto &c : bml.child) ^ ../cheats2.cpp:770:27: error: request for member 'name' in 'c', which is of non-class type 'int' if (!strcasecmp(c.name.c_str(), "cartridge")) ^ ../cheats2.cpp:772:13: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto n = c.find_subnode("sha256"); ^ ../cheats2.cpp:772:18: error: 'n' does not name a type auto n = c.find_subnode("sha256"); ^ ../cheats2.cpp:774:17: error: 'n' was not declared in this scope if (n && !strcasecmp(n->data.c_str(), sha256_txt)) ^ ../cheats2.cpp:776:43: error: invalid initialization of reference of type 'bml_node&' from expression of type 'int' S9xLoadCheatsFromBMLNode(c); ^ ../cheats2.cpp:595:13: error: in passing argument 1 of 'void S9xLoadCheatsFromBMLNode(bml_node&)' static void S9xLoadCheatsFromBMLNode(bml_node &n) ^ make: *** [../cheats2.o] Error 1 make: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/snes9x *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/snes9x