=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for libretro-beetle-ngp-20180720 sh: git: not found clang++ -c -o mednafen/ngp/biosHLE.o mednafen/ngp/biosHLE.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/dma.o mednafen/ngp/dma.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/flash.o mednafen/ngp/flash.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/gfx.o mednafen/ngp/gfx.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/system.o mednafen/ngp/system.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/interrupt.o mednafen/ngp/interrupt.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/mem.o mednafen/ngp/mem.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/rom.o mednafen/ngp/rom.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/sound.o mednafen/ngp/sound.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/T6W28_Apu.o mednafen/ngp/T6W28_Apu.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/ngp/Z80_interface.o mednafen/ngp/Z80_interface.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/sound/Blip_Buffer.o mednafen/sound/Blip_Buffer.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/state.o mednafen/state.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/mempatcher.o mednafen/mempatcher.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o mednafen/sound/Stereo_Buffer.o mednafen/sound/Stereo_Buffer.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" clang++ -c -o libretro.o libretro.cpp -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" mednafen/ngp/gfx.cpp:222:14: warning: explicitly assigning value of variable of type '__uint16_t' (aka 'unsigned short') to itself [-Wself-assign] data16 = data16; ~~~~~~ ^ ~~~~~~ mednafen/ngp/gfx.cpp:clang -c -o mednafen/ngp/bios.o mednafen/ngp/bios.c -O2 -O2 -DNDEBUG -DGIT_VERSION=\"-pkgsrc\" -DWANT_16BPP -DWANT_STEREO_SOUND -DFRONTEND_SUPPORTS_RGB565 -fPIC -I. -I./mednafen -I./mednafen/include -I./mednafen/intl -I./mednafen/hw_sound -I./mednafen/hw_cpu -I./mednafen/hw_misc -I./libretro-common/include -DSIZEOF_DOUBLE=8 -Wall -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-uninitialized -Wno-strict-aliasing -DMEDNAFEN_VERSION=\"0.9.31\" -DPACKAGE=\"mednafen\" -DMEDNAFEN_VERSION_NUMERIC=931 -DPSS_STYLE=1 -DMPC_FIXED_POINT -DSTDC_HEADERS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -D_LOW_ACCURACY_ -DINLINE="inline" 710:25: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->S1SO_H), SF_IS_BOOL(&(gfx->S1SO_H)) ? 1 : sizeof(gfx->S1SO_H), 0x80000000 | (SF_IS_BOOL(&(gfx->S1SO_H)) ? 0x08000000 : 0), "S1SO_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:710:25: note: insert an explicit cast to silence this issue { &(gfx->S1SO_H), SF_IS_BOOL(&(gfx->S1SO_H)) ? 1 : sizeof(gfx->S1SO_H), 0x80000000 | (SF_IS_BOOL(&(gfx->S1SO_H)) ? 0x08000000 : 0), "S1SO_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:711:25: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->S1SO_V), SF_IS_BOOL(&(gfx->S1SO_V)) ? 1 : sizeof(gfx->S1SO_V), 0x80000000 | (SF_IS_BOOL(&(gfx->S1SO_V)) ? 0x08000000 : 0), "S1SO_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:711:25: note: insert an explicit cast to silence this issue { &(gfx->S1SO_V), SF_IS_BOOL(&(gfx->S1SO_V)) ? 1 : sizeof(gfx->S1SO_V), 0x80000000 | (SF_IS_BOOL(&(gfx->S1SO_V)) ? 0x08000000 : 0), "S1SO_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:712:25: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->S2SO_H), SF_IS_BOOL(&(gfx->S2SO_H)) ? 1 : sizeof(gfx->S2SO_H), 0x80000000 | (SF_IS_BOOL(&(gfx->S2SO_H)) ? 0x08000000 : 0), "S2SO_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:712:25: note: insert an explicit cast to silence this issue { &(gfx->S2SO_H), SF_IS_BOOL(&(gfx->S2SO_H)) ? 1 : sizeof(gfx->S2SO_H), 0x80000000 | (SF_IS_BOOL(&(gfx->S2SO_H)) ? 0x08000000 : 0), "S2SO_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:713:25: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->S2SO_V), SF_IS_BOOL(&(gfx->S2SO_V)) ? 1 : sizeof(gfx->S2SO_V), 0x80000000 | (SF_IS_BOOL(&(gfx->S2SO_V)) ? 0x08000000 : 0), "S2SO_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:713:25: note: insert an explicit cast to silence this issue { &(gfx->S2SO_V), SF_IS_BOOL(&(gfx->S2SO_V)) ? 1 : sizeof(gfx->S2SO_V), 0x80000000 | (SF_IS_BOOL(&(gfx->S2SO_V)) ? 0x08000000 : 0), "S2SO_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:714:24: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->WBA_H), SF_IS_BOOL(&(gfx->WBA_H)) ? 1 : sizeof(gfx->WBA_H), 0x80000000 | (SF_IS_BOOL(&(gfx->WBA_H)) ? 0x08000000 : 0), "WBA_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:714:24: note: insert an explicit cast to silence this issue { &(gfx->WBA_H), SF_IS_BOOL(&(gfx->WBA_H)) ? 1 : sizeof(gfx->WBA_H), 0x80000000 | (SF_IS_BOOL(&(gfx->WBA_H)) ? 0x08000000 : 0), "WBA_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:715:24: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->WBA_V), SF_IS_BOOL(&(gfx->WBA_V)) ? 1 : sizeof(gfx->WBA_V), 0x80000000 | (SF_IS_BOOL(&(gfx->WBA_V)) ? 0x08000000 : 0), "WBA_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:715:24: note: insert an explicit cast to silence this issue { &(gfx->WBA_V), SF_IS_BOOL(&(gfx->WBA_V)) ? 1 : sizeof(gfx->WBA_V), 0x80000000 | (SF_IS_BOOL(&(gfx->WBA_V)) ? 0x08000000 : 0), "WBA_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:716:24: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->WSI_H), SF_IS_BOOL(&(gfx->WSI_H)) ? 1 : sizeof(gfx->WSI_H), 0x80000000 | (SF_IS_BOOL(&(gfx->WSI_H)) ? 0x08000000 : 0), "WSI_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:716:24: note: insert an explicit cast to silence this issue { &(gfx->WSI_H), SF_IS_BOOL(&(gfx->WSI_H)) ? 1 : sizeof(gfx->WSI_H), 0x80000000 | (SF_IS_BOOL(&(gfx->WSI_H)) ? 0x08000000 : 0), "WSI_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:717:24: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->WSI_V), SF_IS_BOOL(&(gfx->WSI_V)) ? 1 : sizeof(gfx->WSI_V), 0x80000000 | (SF_IS_BOOL(&(gfx->WSI_V)) ? 0x08000000 : 0), "WSI_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:717:24: note: insert an explicit cast to silence this issue { &(gfx->WSI_V), SF_IS_BOOL(&(gfx->WSI_V)) ? 1 : sizeof(gfx->WSI_V), 0x80000000 | (SF_IS_BOOL(&(gfx->WSI_V)) ? 0x08000000 : 0), "WSI_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:718:24: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->C_OVR), SF_IS_BOOL(&(gfx->C_OVR)) ? 1 : sizeof(gfx->C_OVR), 0x80000000 | (SF_IS_BOOL(&(gfx->C_OVR)) ? 0x08000000 : 0), "C_OVR" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:718:24: note: insert an explicit cast to silence this issue { &(gfx->C_OVR), SF_IS_BOOL(&(gfx->C_OVR)) ? 1 : sizeof(gfx->C_OVR), 0x80000000 | (SF_IS_BOOL(&(gfx->C_OVR)) ? 0x08000000 : 0), "C_OVR" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:719:23: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->BLNK), SF_IS_BOOL(&(gfx->BLNK)) ? 1 : sizeof(gfx->BLNK), 0x80000000 | (SF_IS_BOOL(&(gfx->BLNK)) ? 0x08000000 : 0), "BLNK" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:719:23: note: insert an explicit cast to silence this issue { &(gfx->BLNK), SF_IS_BOOL(&(gfx->BLNK)) ? 1 : sizeof(gfx->BLNK), 0x80000000 | (SF_IS_BOOL(&(gfx->BLNK)) ? 0x08000000 : 0), "BLNK" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:720:23: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->PO_H), SF_IS_BOOL(&(gfx->PO_H)) ? 1 : sizeof(gfx->PO_H), 0x80000000 | (SF_IS_BOOL(&(gfx->PO_H)) ? 0x08000000 : 0), "PO_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:720:23: note: insert an explicit cast to silence this issue { &(gfx->PO_H), SF_IS_BOOL(&(gfx->PO_H)) ? 1 : sizeof(gfx->PO_H), 0x80000000 | (SF_IS_BOOL(&(gfx->PO_H)) ? 0x08000000 : 0), "PO_H" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:721:23: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->PO_V), SF_IS_BOOL(&(gfx->PO_V)) ? 1 : sizeof(gfx->PO_V), 0x80000000 | (SF_IS_BOOL(&(gfx->PO_V)) ? 0x08000000 : 0), "PO_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:721:23: note: insert an explicit cast to silence this issue { &(gfx->PO_V), SF_IS_BOOL(&(gfx->PO_V)) ? 1 : sizeof(gfx->PO_V), 0x80000000 | (SF_IS_BOOL(&(gfx->PO_V)) ? 0x08000000 : 0), "PO_V" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:722:22: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->P_F), SF_IS_BOOL(&(gfx->P_F)) ? 1 : sizeof(gfx->P_F), 0x80000000 | (SF_IS_BOOL(&(gfx->P_F)) ? 0x08000000 : 0), "P_F" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:722:22: note: insert an explicit cast to silence this issue { &(gfx->P_F), SF_IS_BOOL(&(gfx->P_F)) ? 1 : sizeof(gfx->P_F), 0x80000000 | (SF_IS_BOOL(&(gfx->P_F)) ? 0x08000000 : 0), "P_F" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:723:25: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->BG_COL), SF_IS_BOOL(&(gfx->BG_COL)) ? 1 : sizeof(gfx->BG_COL), 0x80000000 | (SF_IS_BOOL(&(gfx->BG_COL)) ? 0x08000000 : 0), "BG_COL" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:723:25: note: insert an explicit cast to silence this issue { &(gfx->BG_COL), SF_IS_BOOL(&(gfx->BG_COL)) ? 1 : sizeof(gfx->BG_COL), 0x80000000 | (SF_IS_BOOL(&(gfx->BG_COL)) ? 0x08000000 : 0), "BG_COL" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:724:29: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->CONTROL_2D), SF_IS_BOOL(&(gfx->CONTROL_2D)) ? 1 : sizeof(gfx->CONTROL_2D), 0x80000000 | (SF_IS_BOOL(&(gfx->CONTROL_2D)) ? 0x08000000 : 0), "CONTROL_2D" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:724:29: note: insert an explicit cast to silence this issue { &(gfx->CONTROL_2D), SF_IS_BOOL(&(gfx->CONTROL_2D)) ? 1 : sizeof(gfx->CONTROL_2D), 0x80000000 | (SF_IS_BOOL(&(gfx->CONTROL_2D)) ? 0x08000000 : 0), "CONTROL_2D" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:725:30: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->CONTROL_INT), SF_IS_BOOL(&(gfx->CONTROL_INT)) ? 1 : sizeof(gfx->CONTROL_INT), 0x80000000 | (SF_IS_BOOL(&(gfx->CONTROL_INT)) ? 0x08000000 : 0), "CONTROL_INT" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:725:30: note: insert an explicit cast to silence this issue { &(gfx->CONTROL_INT), SF_IS_BOOL(&(gfx->CONTROL_INT)) ? 1 : sizeof(gfx->CONTROL_INT), 0x80000000 | (SF_IS_BOOL(&(gfx->CONTROL_INT)) ? 0x08000000 : 0), "CONTROL_INT" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:726:32: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->SCREEN_PERIOD), SF_IS_BOOL(&(gfx->SCREEN_PERIOD)) ? 1 : sizeof(gfx->SCREEN_PERIOD), 0x80000000 | (SF_IS_BOOL(&(gfx->SCREEN_PERIOD)) ? 0x08000000 : 0), "SCREEN_PERIOD" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:726:32: note: insert an explicit cast to silence this issue { &(gfx->SCREEN_PERIOD), SF_IS_BOOL(&(gfx->SCREEN_PERIOD)) ? 1 : sizeof(gfx->SCREEN_PERIOD), 0x80000000 | (SF_IS_BOOL(&(gfx->SCREEN_PERIOD)) ? 0x08000000 : 0), "SCREEN_PERIOD" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:727:28: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->K2GE_MODE), SF_IS_BOOL(&(gfx->K2GE_MODE)) ? 1 : sizeof(gfx->K2GE_MODE), 0x80000000 | (SF_IS_BOOL(&(gfx->K2GE_MODE)) ? 0x08000000 : 0), "K2GE_MODE" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:727:28: note: insert an explicit cast to silence this issue { &(gfx->K2GE_MODE), SF_IS_BOOL(&(gfx->K2GE_MODE)) ? 1 : sizeof(gfx->K2GE_MODE), 0x80000000 | (SF_IS_BOOL(&(gfx->K2GE_MODE)) ? 0x08000000 : 0), "K2GE_MODE" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) mednafen/ngp/gfx.cpp:733:23: error: non-constant-expression cannot be narrowed from type 'unsigned long' to '__uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { &(gfx->winx), SF_IS_BOOL(&(gfx->winx)) ? 1 : sizeof(gfx->winx), 0x80000000 | (SF_IS_BOOL(&(gfx->winx)) ? 0x08000000 : 0), "winx" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mednafen/ngp/gfx.cpp:733:23: note: insert an explicit cast to silence this issue { &(gfx->winx), SF_IS_BOOL(&(gfx->winx)) ? 1 : sizeof(gfx->winx), 0x80000000 | (SF_IS_BOOL(&(gfx->winx)) ? 0x08000000 : 0), "winx" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<__uint32_t>( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. gmake: *** [Makefile:562: mednafen/ngp/gfx.o] Error 1 gmake: *** Waiting for unfinished jobs.... mednafen/ngp/rom.cpp:24:9: warning: 'HTOLE16' macro redefined [-Wmacro-redefined] #define HTOLE16(l) (l) ^ /usr/include/sys/endian.h:168:9: note: previous definition is here #define HTOLE16(x) __CAST(void, (x)) ^ 1 warning generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/emulators/libretro-beetle-ngp *** Error code 1 Stop. make: stopped in /data/pkgsrc/emulators/libretro-beetle-ngp