=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for libretro-nestopia-20150319 clang++ -c -o ../source/core/NstZlib.o ../source/core/NstZlib.cpp -O2 -DPREFIX=\"/usr/pkg\" -fPIC -D__LIBRETRO__ -Wno-deprecated -Wno-write-strings -DNST_NO_ZLIB -fno-rtti -I.. -I../source clang++ -c -o ../source/core/NstApu.o ../source/core/NstApu.cpp -O2 -DPREFIX=\"/usr/pkg\" -fPIC -D__LIBRETRO__ -Wno-deprecated -Wno-write-strings -DNST_NO_ZLIB -fno-rtti -I.. -I../source clang++ -c -o ../source/core/NstFds.o ../source/core/NstFds.cpp -O2 -DPREFIX=\"/usr/pkg\" -fPIC -D__LIBRETRO__ -Wno-deprecated -Wno-write-strings -DNST_NO_ZLIB -fno-rtti -I.. -I../source clang++ -c -o ../source/core/NstPpu.o ../source/core/NstPpu.cpp -O2 -DPREFIX=\"/usr/pkg\" -fPIC -D__LIBRETRO__ -Wno-deprecated -Wno-write-strings -DNST_NO_ZLIB -fno-rtti -I.. -I../source ../source/core/NstApu.cpp:492:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] ctrl, ^~~~ ../source/core/NstApu.cpp:492:6: note: insert an explicit cast to silence this issue ctrl, ^~~~ static_cast( ) ../source/core/NstApu.cpp:493:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] clock & 0xFF, ^~~~~~~~~~~~ ../source/core/NstApu.cpp:493:6: note: insert an explicit cast to silence this issue clock & 0xFF, ^~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:494:6: error: non-constant-expression cannot be narrowed from type 'Nes::Core::Cycle' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] clock >> 8, ^~~~~~~~~~ ../source/core/NstApu.cpp:494:6: note: insert an explicit cast to silence this issue clock >> 8, ^~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:495:6: error: non-constant-expression cannot be narrowed from type 'Nes::word' (aka 'unsigned short') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] cycles.frameDivider ^~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:495:6: note: insert an explicit cast to silence this issue cycles.frameDivider ^~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:516:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] clock & 0xFF, ^~~~~~~~~~~~ ../source/core/NstApu.cpp:516:6: note: insert an explicit cast to silence this issue clock & 0xFF, ^~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:517:6: error: non-constant-expression cannot be narrowed from type 'Nes::Core::Cycle' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] clock >> 8, ^~~~~~~~~~ ../source/core/NstApu.cpp:517:6: note: insert an explicit cast to silence this issue clock >> 8, ^~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:518:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] cycles.frameIrqRepeat % 3 ^~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:518:6: note: insert an explicit cast to silence this issue cycles.frameIrqRepeat % 3 ^~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:1070:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] regs[0] | (reset ? 0x80U : 0x00U), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:1070:5: note: insert an explicit cast to silence this issue regs[0] | (reset ? 0x80U : 0x00U), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:1609:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] waveLength & 0xFFU, ^~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:1609:6: note: insert an explicit cast to silence this issue waveLength & 0xFFU, ^~~~~~~~~~~~~~~~~~ static_cast() ../source/core/NstApu.cpp:1610:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] waveLength >> 8, ^~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:1610:6: note: insert an explicit cast to silence this issue waveLength >> 8, ^~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:1611:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] linearCounter | (uint(status) << 7), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:1611:6: note: insert an explicit cast to silence this issue linearCounter | (uint(status) << 7), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:2020:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] dmcClock & 0xFF, ^~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:2020:5: note: insert an explicit cast to silence this issue dmcClock & 0xFF, ^~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:2021:5: error: non-constant-expression cannot be narrowed from type 'Nes::dword' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] dmcClock >> 8, ^~~~~~~~~~~~~ ../source/core/NstApu.cpp:2021:5: note: insert an explicit cast to silence this issue dmcClock >> 8, ^~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:2022:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] ( ^ ../source/core/NstApu.cpp:2022:5: note: insert an explicit cast to silence this issue ( ^ static_cast( ../source/core/NstApu.cpp:2028:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (regs.address - 0xC000U) >> 6, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:2028:5: note: insert an explicit cast to silence this issue (regs.address - 0xC000U) >> 6, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:2029:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (regs.lengthCounter - 1U) >> 4, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:2029:5: note: insert an explicit cast to silence this issue (regs.lengthCounter - 1U) >> 4, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:2030:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (dma.address >> 0 & 0xFFU), ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:2030:5: note: insert an explicit cast to silence this issue (dma.address >> 0 & 0xFFU), ^~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:2031:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (dma.address >> 8 & 0x7FU) | (dma.buffered ? 0x80 : 0x00), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:2031:5: note: insert an explicit cast to silence this issue (dma.address >> 8 & 0x7FU) | (dma.buffered ? 0x80 : 0x00), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstApu.cpp:2032:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] dma.lengthCounter ? (dma.lengthCounter - 1U) >> 4 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstApu.cpp:2032:5: note: insert an explicit cast to silence this issue dma.lengthCounter ? (dma.lengthCounter - 1U) >> 4 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] ../source/core/NstPpu.cpp:140:13: warning: 11 enumeration values not handled in switch: 'PPU_RP2C02', 'PPU_RP2C03B', 'PPU_RP2C03G'... [-Wswitch] switch (model) ^ 20 errors generated. Makefile:237: recipe for target '../source/core/NstApu.o' failed gmake: *** [../source/core/NstApu.o] Error 1 gmake: *** Waiting for unfinished jobs.... ../source/core/NstPpu.cpp:313:99: warning: '&' within '|' [-Wbitwise-op-parentheses] output.palette[i] = (rgbMap ? rgbMap[palette.ram[i] & uint(Palette::COLOR)] : palette.ram[i]) & c | e; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ~ ../source/core/NstPpu.cpp:313:99: note: place parentheses around the '&' expression to silence this warning output.palette[i] = (rgbMap ? rgbMap[palette.ram[i] & uint(Palette::COLOR)] : palette.ram[i]) & c | e; ^ ( ) ../source/core/NstPpu.cpp:323:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] regs.ctrl[0], ^~~~~~~~~~~~ ../source/core/NstPpu.cpp:323:6: note: insert an explicit cast to silence this issue regs.ctrl[0], ^~~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:324:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] regs.ctrl[1], ^~~~~~~~~~~~ ../source/core/NstPpu.cpp:324:6: note: insert an explicit cast to silence this issue regs.ctrl[1], ^~~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:325:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] regs.status, ^~~~~~~~~~~ ../source/core/NstPpu.cpp:325:6: note: insert an explicit cast to silence this issue regs.status, ^~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:326:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] scroll.address & 0xFF, ^~~~~~~~~~~~~~~~~~~~~ ../source/core/NstPpu.cpp:326:6: note: insert an explicit cast to silence this issue scroll.address & 0xFF, ^~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:327:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] scroll.address >> 8, ^~~~~~~~~~~~~~~~~~~ ../source/core/NstPpu.cpp:327:6: note: insert an explicit cast to silence this issue scroll.address >> 8, ^~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:328:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] scroll.latch & 0xFF, ^~~~~~~~~~~~~~~~~~~ ../source/core/NstPpu.cpp:328:6: note: insert an explicit cast to silence this issue scroll.latch & 0xFF, ^~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:329:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] scroll.latch >> 8, ^~~~~~~~~~~~~~~~~ ../source/core/NstPpu.cpp:329:6: note: insert an explicit cast to silence this issue scroll.latch >> 8, ^~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:330:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] scroll.xFine | scroll.toggle << 3, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstPpu.cpp:330:6: note: insert an explicit cast to silence this issue scroll.xFine | scroll.toggle << 3, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:331:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] regs.oam, ^~~~~~~~ ../source/core/NstPpu.cpp:331:6: note: insert an explicit cast to silence this issue regs.oam, ^~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:332:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] io.buffer, ^~~~~~~~~ ../source/core/NstPpu.cpp:332:6: note: insert an explicit cast to silence this issue io.buffer, ^~~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:333:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] io.latch ^~~~~~~~ ../source/core/NstPpu.cpp:333:6: note: insert an explicit cast to silence this issue io.latch ^~~~~~~~ static_cast( ) ../source/core/NstPpu.cpp:803:43: warning: '&' within '|' [-Wbitwise-op-parentheses] output.palette[i] = palette.ram[i] & ce[0] | ce[1]; ~~~~~~~~~~~~~~~^~~~~~~ ~ ../source/core/NstPpu.cpp:803:43: note: place parentheses around the '&' expression to silence this warning output.palette[i] = palette.ram[i] & ce[0] | ce[1]; ^ ( ) ../source/core/NstPpu.cpp:808:65: warning: '&' within '|' [-Wbitwise-op-parentheses] output.palette[i] = map[palette.ram[i] & Palette::COLOR] & ce[0] | ce[1]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ~ ../source/core/NstPpu.cpp:808:65: note: place parentheses around the '&' expression to silence this warning output.palette[i] = map[palette.ram[i] & Palette::COLOR] & ce[0] | ce[1]; ^ ( ) ../source/core/NstPpu.cpp:829:37: warning: '&' within '|' [-Wbitwise-op-parentheses] return NES_DO_PEEK(2002,address) & 0xC0 | 0x1B; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ ../source/core/NstPpu.cpp:829:37: note: place parentheses around the '&' expression to silence this warning return NES_DO_PEEK(2002,address) & 0xC0 | 0x1B; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../source/core/NstPpu.cpp:834:37: warning: '&' within '|' [-Wbitwise-op-parentheses] return NES_DO_PEEK(2002,address) & 0xC0 | 0x3D; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ ../source/core/NstPpu.cpp:834:37: note: place parentheses around the '&' expression to silence this warning return NES_DO_PEEK(2002,address) & 0xC0 | 0x3D; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../source/core/NstPpu.cpp:839:37: warning: '&' within '|' [-Wbitwise-op-parentheses] return NES_DO_PEEK(2002,address) & 0xC0 | 0x1C; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ~ ../source/core/NstPpu.cpp:839:37: note: place parentheses around the '&' expression to silence this warning return NES_DO_PEEK(2002,address) & 0xC0 | 0x1C; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../source/core/NstPpu.cpp:960:73: warning: '&' within '|' [-Wbitwise-op-parentheses] const uint final = (!rgbMap ? data : rgbMap[data & Palette::COLOR]) & Coloring() | Emphasis(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ~ ../source/core/NstPpu.cpp:960:73: note: place parentheses around the '&' expression to silence this warning const uint final = (!rgbMap ? data : rgbMap[data & Palette::COLOR]) & Coloring() | Emphasis(); ^ ( ) ../source/core/NstPpu.cpp:1304:32: warning: '&' within '|' [-Wbitwise-op-parentheses] return address | comparitor & Oam::XFINE; ~ ~~~~~~~~~~~^~~~~~~~~~~~ ../source/core/NstPpu.cpp:1304:32: note: place parentheses around the '&' expression to silence this warning return address | comparitor & Oam::XFINE; ^ ( ) 9 warnings and 11 errors generated. Makefile:237: recipe for target '../source/core/NstPpu.o' failed gmake: *** [../source/core/NstPpu.o] Error 1 ../source/core/NstFds.cpp:479:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] disks.sides.count, ^~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:479:6: note: insert an explicit cast to silence this issue disks.sides.count, ^~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:480:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] (disks.current != Disks::EJECTED) | (disks.writeProtected ? 0x2U : 0x0U), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:480:6: note: insert an explicit cast to silence this issue (disks.current != Disks::EJECTED) | (disks.writeProtected ? 0x2U : 0x0U), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:481:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] disks.current != Disks::EJECTED ? disks.current : 0xFF, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:481:6: note: insert an explicit cast to silence this issue disks.current != Disks::EJECTED ? disks.current : 0xFF, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:482:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] disks.current != Disks::EJECTED ? disks.mounting : 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:482:6: note: insert an explicit cast to silence this issue disks.current != Disks::EJECTED ? disks.mounting : 0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:965:19: warning: '&' within '|' [-Wbitwise-op-parentheses] else if (!(reg & CTRL_STOP | count) && io) ~~~~^~~~~~~~~~~ ~ ../source/core/NstFds.cpp:965:19: note: place parentheses around the '&' expression to silence this warning else if (!(reg & CTRL_STOP | count) && io) ^ ( ) ../source/core/NstFds.cpp:1227:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.timer.ctrl, ^~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1227:6: note: insert an explicit cast to silence this issue unit.timer.ctrl, ^~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1228:6: error: non-constant-expression cannot be narrowed from type 'Nes::uint' (aka 'unsigned int') to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.status, ^~~~~~~~~~~ ../source/core/NstFds.cpp:1228:6: note: insert an explicit cast to silence this issue unit.status, ^~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1229:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.timer.latch & 0xFFU, ^~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1229:6: note: insert an explicit cast to silence this issue unit.timer.latch & 0xFFU, ^~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1230:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.timer.latch >> 8, ^~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1230:6: note: insert an explicit cast to silence this issue unit.timer.latch >> 8, ^~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1231:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.timer.count & 0xFFU, ^~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1231:6: note: insert an explicit cast to silence this issue unit.timer.count & 0xFFU, ^~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1232:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.timer.count >> 8, ^~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1232:6: note: insert an explicit cast to silence this issue unit.timer.count >> 8, ^~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1246:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.in & 0xFFU, ^~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1246:6: note: insert an explicit cast to silence this issue unit.drive.in & 0xFFU, ^~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1248:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? headPos & 0xFF : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1248:6: note: insert an explicit cast to silence this issue unit.drive.count ? headPos & 0xFF : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1249:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? headPos >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1249:6: note: insert an explicit cast to silence this issue unit.drive.count ? headPos >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1250:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? unit.drive.dataPos & 0xFFU : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1250:6: note: insert an explicit cast to silence this issue unit.drive.count ? unit.drive.dataPos & 0xFFU : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1251:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? unit.drive.dataPos >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1251:6: note: insert an explicit cast to silence this issue unit.drive.count ? unit.drive.dataPos >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1252:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? unit.drive.gap & 0xFFU : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1252:6: note: insert an explicit cast to silence this issue unit.drive.count ? unit.drive.gap & 0xFFU : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1253:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? unit.drive.gap >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1253:6: note: insert an explicit cast to silence this issue unit.drive.count ? unit.drive.gap >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1254:6: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? unit.drive.length & 0xFFU : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1254:6: note: insert an explicit cast to silence this issue unit.drive.count ? unit.drive.length & 0xFFU : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ../source/core/NstFds.cpp:1255:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Nes::byte' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] unit.drive.count ? unit.drive.length >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../source/core/NstFds.cpp:1255:6: note: insert an explicit cast to silence this issue unit.drive.count ? unit.drive.length >> 8 : 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. Makefile:237: recipe for target '../source/core/NstFds.o' failed gmake: *** [../source/core/NstFds.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/emulators/libretro-nestopia *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/emulators/libretro-nestopia