Archiving libmisc.a...
Compiling src/devices/cpu/drcuml.cpp...
Compiling src/devices/cpu/dsp16/dsp16.cpp...
Compiling src/devices/cpu/dsp32/dsp32.cpp...
Compiling src/devices/cpu/dsp56k/dsp56k.cpp...
Compiling src/devices/cpu/dsp56k/dsp56mem.cpp...
In file included from ../../../../../src/emu/emu.h:70:0:
../../../../../src/emu/distate.h: In instantiation of 'device_state_register<Ite
mType>::device_state_register(int, const char*, ItemType&, device_state_interfac
e*) [with ItemType = double]':
C:/msys64/mingw64/include/c++/7.1.0/bits/unique_ptr.h:825:30: required from 't
ypename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with
_Tp = device_state_register<double>; _Args = {int&, const char*&, double&, devi
ce_state_interface*}; typename std::_MakeUniq<_Tp>::__single_object = std::uniqu
e_ptr<device_state_register<double>, std::default_delete<device_state_register<d
ouble> > >]'
../../../../../src/emu/distate.h:211:69: required from 'device_state_entry& de
vice_state_interface::state_add(int, const char*, ItemType&) [with ItemType = do
uble]'
../../../../../src/devices/cpu/dsp32/dsp32.cpp:215:48: required from here
../../../../../src/emu/distate.h:127:91: error: overflow in implicit constant co
nversion [-Werror=overflow]
: device_state_entry(index, symbol, sizeof(ItemType), std::numeric_limits<Ite
mType>::max(), dev),
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~^~
Compiling src/devices/cpu/dsp56k/dsp56pcu.cpp...
Compiling src/devices/cpu/e132xs/e132xs.cpp...
Compiling src/devices/cpu/es5510/es5510.cpp...
Compiling src/devices/cpu/esrip/esrip.cpp...
cc1plus.exe: all warnings being treated as errors
optional.make:6510: recipe for target '../../../../mingw-gcc/obj/x64/Release/src
/devices/cpu/dsp32/dsp32.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/devices/cpu/dsp32/dsp32.
o] Error 1
make[2]: *** Waiting for unfinished jobs....
makefile:88: recipe for target 'optional' failed
make[1]: *** [optional] Error 2
makefile:994: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2
[MINGW64] C:\mame\git\mame>
Compiling src/devices/cpu/drcuml.cpp...
Compiling src/devices/cpu/dsp16/dsp16.cpp...
Compiling src/devices/cpu/dsp32/dsp32.cpp...
Compiling src/devices/cpu/dsp56k/dsp56k.cpp...
Compiling src/devices/cpu/dsp56k/dsp56mem.cpp...
In file included from ../../../../../src/emu/emu.h:70:0:
../../../../../src/emu/distate.h: In instantiation of 'device_state_register<Ite
mType>::device_state_register(int, const char*, ItemType&, device_state_interfac
e*) [with ItemType = double]':
C:/msys64/mingw64/include/c++/7.1.0/bits/unique_ptr.h:825:30: required from 't
ypename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with
_Tp = device_state_register<double>; _Args = {int&, const char*&, double&, devi
ce_state_interface*}; typename std::_MakeUniq<_Tp>::__single_object = std::uniqu
e_ptr<device_state_register<double>, std::default_delete<device_state_register<d
ouble> > >]'
../../../../../src/emu/distate.h:211:69: required from 'device_state_entry& de
vice_state_interface::state_add(int, const char*, ItemType&) [with ItemType = do
uble]'
../../../../../src/devices/cpu/dsp32/dsp32.cpp:215:48: required from here
../../../../../src/emu/distate.h:127:91: error: overflow in implicit constant co
nversion [-Werror=overflow]
: device_state_entry(index, symbol, sizeof(ItemType), std::numeric_limits<Ite
mType>::max(), dev),
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~^~
Compiling src/devices/cpu/dsp56k/dsp56pcu.cpp...
Compiling src/devices/cpu/e132xs/e132xs.cpp...
Compiling src/devices/cpu/es5510/es5510.cpp...
Compiling src/devices/cpu/esrip/esrip.cpp...
cc1plus.exe: all warnings being treated as errors
optional.make:6510: recipe for target '../../../../mingw-gcc/obj/x64/Release/src
/devices/cpu/dsp32/dsp32.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/src/devices/cpu/dsp32/dsp32.
o] Error 1
make[2]: *** Waiting for unfinished jobs....
makefile:88: recipe for target 'optional' failed
make[1]: *** [optional] Error 2
makefile:994: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2
[MINGW64] C:\mame\git\mame>