New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mingw build failure on z8000 using gcc 6.2 #2347
Comments
Well, it's working fine on GCC 6.3 on Windows and Linux, GCC 5.1 on Linux, clang 3.9 on OSX, VS2015 Update 3 on Windows, and whatever other versions of clang @smf- is using on Windows. I'd say your best bet is to update GCC. |
This is a compiler bug fixed in 6.3. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77987 |
Thx, I, ll update to 6.3 |
belegdol
pushed a commit
to belegdol/mame
that referenced
this issue
May 8, 2021
(cherry picked from commit 8c4cc84c628c5668de736ebe473bed87aeb3a113)
belegdol
pushed a commit
to belegdol/mame
that referenced
this issue
Jul 24, 2021
(cherry picked from commit 8c4cc84c628c5668de736ebe473bed87aeb3a113)
belegdol
pushed a commit
to belegdol/mame
that referenced
this issue
Jul 25, 2021
(cherry picked from commit 8c4cc84c628c5668de736ebe473bed87aeb3a113)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling src/devices/cpu/z8000/z8000.cpp...
In file included from C:/Users/jolar/Downloads/msys64/mingw64/include/c++/6.2.0/memory:81:0,
from ../../../../../src/emu/emu.h:23:
C:/Users/jolar/Downloads/msys64/mingw64/include/c++/6.2.0/bits/unique_ptr.h: In instantiation of 'void std::unique_ptr<_Tp [], _Dp>::reset(_Up) [with _Up = z8002_device::Z8000_exec*; = void; _Tp = const z8002_device::Z8000_exec; _Dp = std::default_delete<const z8002_device::Z8000_exec []>]':
C:/Users/jolar/Downloads/msys64/mingw64/include/c++/6.2.0/bits/unique_ptr.h:539:9: required from 'typename std::enable_if<std::_and<std::_and<std::is_array<_Up>, std::is_same<typename std::unique_ptr<_Tp [], _Dp>::_Pointer::type, _Tp*>, std::is_same<typename std::unique_ptr<_Up, _Ep>::pointer, typename std::unique_ptr<_Up, _Ep>::element_type*>, std::is_convertible<typename std::unique_ptr<_Up, _Ep>::element_type ()[], _Tp ()[]>, std::_or<std::_and<std::is_reference<_Dp>, std::is_same<_Dp, _Ep> >, std::_and<std::_not<std::is_reference<_Dp> >, std::is_convertible<_Ep, _Dp> > > >, std::is_assignable<_Dp&, _Ep&&> >::value, std::unique_ptr<_Tp [], _Dp>&>::type std::unique_ptr<_Tp [], _Dp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Up = z8002_device::Z8000_exec []; _Ep = std::default_delete<z8002_device::Z8000_exec []>; _Tp = const z8002_device::Z8000_exec; _Dp = std::default_delete<const z8002_device::Z8000_exec []>; typename std::enable_if<std::_and<std::_and<std::is_array<_Up>, std::is_same<typename std::unique_ptr<_Tp [], _Dp>::_Pointer::type, _Tp*>, std::is_same<typename std::unique_ptr<_Up, _Ep>::pointer, typename std::unique_ptr<_Up, _Ep>::element_type*>, std::is_convertible<typename std::unique_ptr<_Up, _Ep>::element_type ()[], _Tp ()[]>, std::_or<std::_and<std::is_reference<_Dp>, std::is_same<_Dp, _Ep> >, std::_and<std::_not<std::is_reference<_Dp> >, std::is_convertible<_Ep, _Dp> > > >, std::is_assignable<_Dp&, _Ep&&> >::value, std::unique_ptr<_Tp [], _Dp>&>::type = std::unique_ptr<const z8002_device::Z8000_exec []>&]'
../../../../../src/devices/cpu/z8000/z8000tbl.hxx:578:29: required from here
C:/Users/jolar/Downloads/msys64/mingw64/include/c++/6.2.0/bits/unique_ptr.h:614:6: error: no matching function for call to 'swap(const z8002_device::Z8000_exec*&, z8002_device::Z8000_exec*&)'
swap(std::get<0>(_M_t), __p);
The text was updated successfully, but these errors were encountered: