=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for libretro-vba-next-20150105 clang++ -c -o src/sound.o src/sound.cpp -O2 -O3 -fPIC -DTILED_RENDERING -D__LIBRETRO__ -DLSB_FIRST -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DSPEEDHAX -DINLINE=inline -DFRONTEND_SUPPORTS_RGB565 -Isrc clang++ -c -o src/memory.o src/memory.cpp -O2 -O3 -fPIC -DTILED_RENDERING -D__LIBRETRO__ -DLSB_FIRST -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DSPEEDHAX -DINLINE=inline -DFRONTEND_SUPPORTS_RGB565 -Isrc clang++ -c -o src/gba.o src/gba.cpp -O2 -O3 -fPIC -DTILED_RENDERING -D__LIBRETRO__ -DLSB_FIRST -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DSPEEDHAX -DINLINE=inline -DFRONTEND_SUPPORTS_RGB565 -Isrc src/sound.cpp:1807:24: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] int gb_addr[2] = {address[i] & ~1, address[i] | 1}; ^~~~~~~~~~~~~~~ src/sound.cpp:1807:24: note: insert an explicit cast to silence this issue int gb_addr[2] = {address[i] & ~1, address[i] | 1}; ^~~~~~~~~~~~~~~ static_cast( ) src/sound.cpp:1807:41: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] int gb_addr[2] = {address[i] & ~1, address[i] | 1}; ^~~~~~~~~~~~~~ src/sound.cpp:1807:41: note: insert an explicit cast to silence this issue int gb_addr[2] = {address[i] & ~1, address[i] | 1}; ^~~~~~~~~~~~~~ static_cast( ) src/sound.cpp:1830:33: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ src/sound.cpp:1830:33: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ static_cast( ) src/sound.cpp:1830:38: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ src/sound.cpp:1830:38: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ static_cast( ) src/sound.cpp:1830:45: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ src/sound.cpp:1830:45: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ static_cast( ) src/sound.cpp:1830:50: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ src/sound.cpp:1830:50: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ static_cast( ) src/sound.cpp:1830:57: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ src/sound.cpp:1830:57: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ static_cast( ) src/sound.cpp:1830:62: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ src/sound.cpp:1830:62: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ static_cast( ) src/sound.cpp:1830:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ src/sound.cpp:1830:69: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~ static_cast( ) src/sound.cpp:1830:74: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ src/sound.cpp:1830:74: note: insert an explicit cast to silence this issue uint32_t address_array[8] = {reg, reg+2, reg, reg+2, reg, reg+2, reg, reg+2}; ^~~~~ static_cast( ) src/sound.cpp:1923:23: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] int gb_addr[2] = {address & ~1, address | 1}; ^~~~~~~~~~~~ src/sound.cpp:1923:23: note: insert an explicit cast to silence this issue int gb_addr[2] = {address & ~1, address | 1}; ^~~~~~~~~~~~ static_cast( ) src/sound.cpp:1923:37: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] int gb_addr[2] = {address & ~1, address | 1}; ^~~~~~~~~~~ src/sound.cpp:1923:37: note: insert an explicit cast to silence this issue int gb_addr[2] = {address & ~1, address | 1}; ^~~~~~~~~~~ static_cast( ) 12 errors generated. Makefile.libretro:242: recipe for target 'src/sound.o' failed gmake: *** [src/sound.o] Error 1 gmake: *** Waiting for unfinished jobs.... src/gba.cpp:4336:65: warning: '&' within '|' [-Wbitwise-op-parentheses] bus.busPrefetchCount = (0x100 | (bus.busPrefetchCount & 0xFF) & busprefetch_mask) | (bus.busPrefetchCount & ~busprefetch_mask); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/gba.cpp:4336:65: note: place parentheses around the '&' expression to silence this warning bus.busPrefetchCount = (0x100 | (bus.busPrefetchCount & 0xFF) & busprefetch_mask) | (bus.busPrefetchCount & ~busprefetch_mask); ^ ( ) src/gba.cpp:5132:51: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/gba.cpp:5132:51: note: place parentheses around the '+' expression to silence this warning + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ^ ) src/gba.cpp:5146:51: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/gba.cpp:5146:51: note: place parentheses around the '+' expression to silence this warning + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ^ ) src/gba.cpp:5190:51: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/gba.cpp:5190:51: note: place parentheses around the '+' expression to silence this warning + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ^ ) src/gba.cpp:5204:51: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/gba.cpp:5204:51: note: place parentheses around the '+' expression to silence this warning + codeTicksAccess(bus.armNextPC, BITS_16) + 3; ^ ) src/gba.cpp:8773:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:8918:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9041:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9199:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9353:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9465:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9609:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9744:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9851:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:9955:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10048:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10131:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10230:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10324:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10409:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10508:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10603:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:10691:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] alpha_blend_brightness_switch(); ^ src/gba.cpp:8682:3: note: expanded from macro 'alpha_blend_brightness_switch' else \ ^ src/gba.cpp:11423:23: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] int gb_addr[2] = {address & 0xFF, (address & 0xFF) + 1}; ^~~~~~~~~~~~~~ src/gba.cpp:11423:23: note: insert an explicit cast to silence this issue int gb_addr[2] = {address & 0xFF, (address & 0xFF) + 1}; ^~~~~~~~~~~~~~ static_cast( ) src/gba.cpp:11423:39: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing] int gb_addr[2] = {address & 0xFF, (address & 0xFF) + 1}; ^~~~~~~~~~~~~~~~~~~~ src/gba.cpp:11423:39: note: insert an explicit cast to silence this issue int gb_addr[2] = {address & 0xFF, (address & 0xFF) + 1}; ^~~~~~~~~~~~~~~~~~~~ static_cast( ) src/gba.cpp:15062:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] address & 255, ^~~~~~~~~~~~~ src/gba.cpp:15062:5: note: insert an explicit cast to silence this issue address & 255, ^~~~~~~~~~~~~ static_cast( ) src/gba.cpp:15063:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (address >> 8) & 255, ^~~~~~~~~~~~~~~~~~~~ src/gba.cpp:15063:5: note: insert an explicit cast to silence this issue (address >> 8) & 255, ^~~~~~~~~~~~~~~~~~~~ static_cast( ) src/gba.cpp:15064:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (address >> 16) & 255, ^~~~~~~~~~~~~~~~~~~~~ src/gba.cpp:15064:5: note: insert an explicit cast to silence this issue (address >> 16) & 255, ^~~~~~~~~~~~~~~~~~~~~ static_cast( ) src/gba.cpp:15065:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (address >> 24) & 255, ^~~~~~~~~~~~~~~~~~~~~ src/gba.cpp:15065:5: note: insert an explicit cast to silence this issue (address >> 24) & 255, ^~~~~~~~~~~~~~~~~~~~~ static_cast( ) src/gba.cpp:15066:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (value & 255), ^~~~~~~~~~~~~ src/gba.cpp:15066:5: note: insert an explicit cast to silence this issue (value & 255), ^~~~~~~~~~~~~ static_cast( ) src/gba.cpp:15067:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (value >> 8) & 255, ^~~~~~~~~~~~~~~~~~ src/gba.cpp:15067:5: note: insert an explicit cast to silence this issue (value >> 8) & 255, ^~~~~~~~~~~~~~~~~~ static_cast( ) 23 warnings and 8 errors generated. Makefile.libretro:242: recipe for target 'src/gba.o' failed gmake: *** [src/gba.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/emulators/libretro-vba-next *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/emulators/libretro-vba-next