Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 707268 Details for
Bug 789597
games-emulation/fbzx-3.0.0-r1 - z80free/Z80free.h: error: reference to byte is ambiguous (maybe gcc-11 related)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-emulation:fbzx-3.0.0-r1:20210511-202900.log
games-emulation:fbzx-3.0.0-r1:20210511-202900.log (text/plain), 134.19 KB, created by
Toralf Förster
on 2021-05-12 07:15:43 UTC
(
hide
)
Description:
games-emulation:fbzx-3.0.0-r1:20210511-202900.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-05-12 07:15:43 UTC
Size:
134.19 KB
patch
obsolete
> * Package: games-emulation/fbzx-3.0.0-r1 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking fbzx-3.0.0.tar.gz to /var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work >>>> Source unpacked in /var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work >>>> Preparing source in /var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work/fbzx-3.0.0 ... > * Applying fbzx-3.0.0-gentoo.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work/fbzx-3.0.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work/fbzx-3.0.0 ... >make -j2 >cd src && make >make[1]: Entering directory '/var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work/fbzx-3.0.0/src' >c++ -c -pipe -march=native -fno-diagnostics-color -O2 `x86_64-pc-linux-gnu-pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o cargador.o cargador.cpp >c++ -c -pipe -march=native -fno-diagnostics-color -O2 `x86_64-pc-linux-gnu-pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o cmdline.o cmdline.cpp >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:56:17: error: reference to âbyteâ is ambiguous > 56 | byte F,A, C,B, E,D, L,H, IXl,IXh, IYl,IYh, P,S; > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:75:9: error: reference to âbyteâ is ambiguous > 75 | byte R; /* Refresh */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:76:9: error: reference to âbyteâ is ambiguous > 76 | byte R2; /* Upper bit for Refresh */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:77:9: error: reference to âbyteâ is ambiguous > 77 | byte I; > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:78:9: error: reference to âbyteâ is ambiguous > 78 | byte IFF1; /* Interrupt Flipflop 1. If it's 2, decrement it and don't allow INT */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:79:9: error: reference to âbyteâ is ambiguous > 79 | byte IFF2; /* Interrupt Flipflop 2 */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:80:9: error: reference to âbyteâ is ambiguous > 80 | byte IM; /* Interrupt mode */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:81:9: error: reference to âbyteâ is ambiguous > 81 | byte HALT; /* HALT status */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:82:9: error: reference to âbyteâ is ambiguous > 82 | byte INT_P; /* INT pending */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:83:9: error: reference to âbyteâ is ambiguous > 83 | byte NMI_P; /* NMI pending */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:84:9: error: reference to âbyteâ is ambiguous > 84 | byte empty_bus; /* value for empty bus when procesing a maskable int */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:86:9: error: reference to âbyteâ is ambiguous > 86 | byte IAddr_done; /* if 1, IAddr contains a valid data */ > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:92:42: error: reference to âbyteâ is ambiguous > 92 | void Z80free_setFlag(Z80FREE *processor, byte flag); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:92:42: error: âbyteâ has not been declared > 92 | void Z80free_setFlag(Z80FREE *processor, byte flag); > | ^~~~ >z80free/Z80free.h:93:42: error: reference to âbyteâ is ambiguous > 93 | void Z80free_resFlag(Z80FREE *processor, byte flag); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:93:42: error: âbyteâ has not been declared > 93 | void Z80free_resFlag(Z80FREE *processor, byte flag); > | ^~~~ >z80free/Z80free.h:94:42: error: reference to âbyteâ is ambiguous > 94 | void Z80free_valFlag(Z80FREE *processor, byte flag, int val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:94:42: error: âbyteâ has not been declared > 94 | void Z80free_valFlag(Z80FREE *processor, byte flag, int val); > | ^~~~ >z80free/Z80free.h:95:41: error: reference to âbyteâ is ambiguous > 95 | int Z80free_getFlag(Z80FREE *processor, byte flag); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:95:41: error: âbyteâ has not been declared > 95 | int Z80free_getFlag(Z80FREE *processor, byte flag); > | ^~~~ >z80free/Z80free.h:96:47: error: reference to âbyteâ is ambiguous > 96 | void Z80free_adjustFlags (Z80FREE *processor, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:96:47: error: âbyteâ has not been declared > 96 | void Z80free_adjustFlags (Z80FREE *processor, byte val); > | ^~~~ >z80free/Z80free.h:97:49: error: reference to âbyteâ is ambiguous > 97 | void Z80free_adjustFlagSZP (Z80FREE *processor, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:97:49: error: âbyteâ has not been declared > 97 | void Z80free_adjustFlagSZP (Z80FREE *processor, byte val); > | ^~~~ >z80free/Z80free.h:99:1: error: reference to âbyteâ is ambiguous > 99 | byte Z80free_doArithmetic (Z80FREE *processor, byte value1,byte value2, int withCarry, int isSub); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:101:41: error: reference to âbyteâ is ambiguous > 101 | void Z80free_doAND (Z80FREE *processor, byte value); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:101:41: error: âbyteâ has not been declared > 101 | void Z80free_doAND (Z80FREE *processor, byte value); > | ^~~~ >z80free/Z80free.h:102:40: error: reference to âbyteâ is ambiguous > 102 | void Z80free_doOR (Z80FREE *processor, byte value); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:102:40: error: âbyteâ has not been declared > 102 | void Z80free_doOR (Z80FREE *processor, byte value); > | ^~~~ >z80free/Z80free.h:103:41: error: reference to âbyteâ is ambiguous > 103 | void Z80free_doXOR (Z80FREE *processor, byte value); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:103:41: error: âbyteâ has not been declared > 103 | void Z80free_doXOR (Z80FREE *processor, byte value); > | ^~~~ >z80free/Z80free.h:104:48: error: reference to âbyteâ is ambiguous > 104 | void Z80free_doBIT (Z80FREE *processor, int b, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:104:48: error: âbyteâ has not been declared > 104 | void Z80free_doBIT (Z80FREE *processor, int b, byte val); > | ^~~~ >z80free/Z80free.h:105:1: error: reference to âbyteâ is ambiguous > 105 | byte Z80free_doSetRes (Z80FREE *processor, int bit, int pos, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:106:1: error: reference to âbyteâ is ambiguous > 106 | byte Z80free_doIncDec (Z80FREE *processor, byte val, int isDec); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:108:1: error: reference to âbyteâ is ambiguous > 108 | byte Z80free_doRLC (Z80FREE *processor, int adjFlags, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:109:1: error: reference to âbyteâ is ambiguous > 109 | byte Z80free_doRL (Z80FREE *processor, int adjFlags, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:110:1: error: reference to âbyteâ is ambiguous > 110 | byte Z80free_doRRC (Z80FREE *processor, int adjFlags, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:111:1: error: reference to âbyteâ is ambiguous > 111 | byte Z80free_doRR (Z80FREE *processor, int adjFlags, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:112:1: error: reference to âbyteâ is ambiguous > 112 | byte Z80free_doSL (Z80FREE *processor, int isArith, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:113:1: error: reference to âbyteâ is ambiguous > 113 | byte Z80free_doSR (Z80FREE *processor, int isArith, byte val); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:117:1: error: reference to âbyteâ is ambiguous > 117 | byte Z80free_readR(Z80FREE *processor); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:118:38: error: reference to âbyteâ is ambiguous > 118 | void Z80free_setR(Z80FREE *processor,byte value); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:118:38: error: âbyteâ has not been declared > 118 | void Z80free_setR(Z80FREE *processor,byte value); > | ^~~~ >z80free/Z80free.h:119:1: error: reference to âbyteâ is ambiguous > 119 | byte Z80free_readI(Z80FREE *processor); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:123:47: error: reference to âbyteâ is ambiguous > 123 | void Z80free_jump_relative(Z80FREE *processor,byte relvar); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:123:47: error: âbyteâ has not been declared > 123 | void Z80free_jump_relative(Z80FREE *processor,byte relvar); > | ^~~~ >z80free/Z80free.h:125:64: error: reference to âbyteâ is ambiguous > 125 | ord Z80free_addr_relativeXDCB(Z80FREE *processor,word address,byte d1); > | ^~~~ > >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:125:64: error: âbyteâ has not been declared > 125 | ord Z80free_addr_relativeXDCB(Z80FREE *processor,word address,byte d1); > | ^~~~ > >z80free/Z80free.h:126:1: error: reference to âbyteâ is ambiguous > 126 | byte Z80free_read_param_8(Z80FREE *z80); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:136:28: error: reference to âbyteâ is ambiguous > 136 | void Z80free_INT(Z80FREE *,byte); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:136:28: error: âbyteâ has not been declared > 136 | void Z80free_INT(Z80FREE *,byte); > | ^~~~ >z80free/Z80free.h:138:1: error: reference to âbyteâ is ambiguous > 138 | byte Z80free_Rd (word Addr); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:139:29: error: reference to âbyteâ is ambiguous > 139 | void Z80free_Wr (word Addr, byte Value); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:139:29: error: âbyteâ has not been declared > 139 | void Z80free_Wr (word Addr, byte Value); > | ^~~~ >z80free/Z80free.h:140:1: error: reference to âbyteâ is ambiguous > 140 | byte Z80free_In (word Port); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:141:30: error: reference to âbyteâ is ambiguous > 141 | void Z80free_Out (word Port, byte Value); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:141:30: error: âbyteâ has not been declared > 141 | void Z80free_Out (word Port, byte Value); > | ^~~~ >z80free/Z80free.h:145:39: error: reference to âbyteâ is ambiguous > 145 | int Z80free_codes (Z80FREE *processor,byte opcode); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:145:39: error: âbyteâ has not been declared > 145 | int Z80free_codes (Z80FREE *processor,byte opcode); > | ^~~~ >z80free/Z80free.h:146:41: error: reference to âbyteâ is ambiguous > 146 | int Z80free_codesCB (Z80FREE *processor,byte opcode); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:146:41: error: âbyteâ has not been declared > 146 | int Z80free_codesCB (Z80FREE *processor,byte opcode); > | ^~~~ >z80free/Z80free.h:147:41: error: reference to âbyteâ is ambiguous > 147 | int Z80free_codesDD (Z80FREE *processor,byte opcode); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:147:41: error: âbyteâ has not been declared > 147 | int Z80free_codesDD (Z80FREE *processor,byte opcode); > | ^~~~ >z80free/Z80free.h:148:41: error: reference to âbyteâ is ambiguous > 148 | int Z80free_codesED (Z80FREE *processor,byte opcode); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:148:41: error: âbyteâ has not been declared > 148 | int Z80free_codesED (Z80FREE *processor,byte opcode); > | ^~~~ >z80free/Z80free.h:149:41: error: reference to âbyteâ is ambiguous > 149 | int Z80free_codesFD (Z80FREE *processor,byte opcode); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:149:41: error: âbyteâ has not been declared > 149 | int Z80free_codesFD (Z80FREE *processor,byte opcode); > | ^~~~ >z80free/Z80free.h:150:43: error: reference to âbyteâ is ambiguous > 150 | int Z80free_codesDDCB (Z80FREE *processor,byte d1); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:150:43: error: âbyteâ has not been declared > 150 | int Z80free_codesDDCB (Z80FREE *processor,byte d1); > | ^~~~ >z80free/Z80free.h:151:43: error: reference to âbyteâ is ambiguous > 151 | int Z80free_codesFDCB (Z80FREE *processor,byte d1); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >z80free/Z80free.h:151:43: error: âbyteâ has not been declared > 151 | int Z80free_codesFDCB (Z80FREE *processor,byte d1); > | ^~~~ >c++ -c -pipe -march=native -fno-diagnostics-color -O2 `x86_64-pc-linux-gnu-pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS -o computer.o computer.cpp >In file included from cargador.hh:20, > from cargador.cpp:20: >computer.hh:96:9: error: reference to âbyteâ is ambiguous > 96 | byte bus_empty(); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:20: >cargador.hh:26:3: error: reference to âbyteâ is ambiguous > 26 | byte A,F,B,C,D,E,H,L,AA,FF,BB,CC,DD,EE,HH,LL,R,I,IFF1,IFF2,Imode,issue; > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:20: >cargador.hh:28:3: error: reference to âbyteâ is ambiguous > 28 | byte type; // bit 0/1: 48K/128K/+3 > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:20: >cargador.hh:29:3: error: reference to âbyteâ is ambiguous > 29 | byte border; // border color > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:20: >cargador.hh:30:3: error: reference to âbyteâ is ambiguous > 30 | byte pager; // content of pagination register in 128K mode > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:28: >spk_ay.hh:49:24: error: reference to âbyteâ is ambiguous > 49 | void set_latch(byte); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:28: >spk_ay.hh:49:24: error: âbyteâ has not been declared > 49 | void set_latch(byte); > | ^~~~ >spk_ay.hh:50:24: error: reference to âbyteâ is ambiguous > 50 | void set_value(byte); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:28: >spk_ay.hh:50:24: error: âbyteâ has not been declared > 50 | void set_value(byte); > | ^~~~ >spk_ay.hh:51:9: error: reference to âbyteâ is ambiguous > 51 | byte get_latch(); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:28: >spk_ay.hh:52:9: error: reference to âbyteâ is ambiguous > 52 | byte get_value(); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from cargador.cpp:28: >spk_ay.hh:53:9: error: reference to âbyteâ is ambiguous > 53 | byte get_value(int); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >cargador.cpp: In function âint save_z80(char*)â: >cargador.cpp:89:59: error: âstruct Z80FRegs::<unnamed>â has no member named âAâ > 89 | fprintf(fichero, "%c%c%c%c%c%c", procesador.Rm.br.A, procesador.Rm.br.F, > | ^ >cargador.cpp:89:79: error: âstruct Z80FRegs::<unnamed>â has no member named âFâ > 89 | printf(fichero, "%c%c%c%c%c%c", procesador.Rm.br.A, procesador.Rm.br.F, > | ^ > >cargador.cpp:90:42: error: âstruct Z80FRegs::<unnamed>â has no member named âCâ > 90 | procesador.Rm.br.C, procesador.Rm.br.B, procesador.Rm.br.L, > | ^ >cargador.cpp:90:62: error: âstruct Z80FRegs::<unnamed>â has no member named âBâ > 90 | procesador.Rm.br.C, procesador.Rm.br.B, procesador.Rm.br.L, > | ^ > >cargador.cpp:90:82: error: âstruct Z80FRegs::<unnamed>â has no member named âLâ > 90 | procesador.Rm.br.C, procesador.Rm.br.B, procesador.Rm.br.L, > | ^ > >cargador.cpp:91:42: error: âstruct Z80FRegs::<unnamed>â has no member named âHâ > 91 | procesador.Rm.br.H); // AF, BC and HL > | ^ >cargador.cpp:94:43: error: reference to âbyteâ is ambiguous > 94 | fprintf(fichero, "%c%c", (byte) (procesador.PC & 0x0FF), > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >cargador.cpp:95:34: error: reference to âbyteâ is ambiguous > 95 | (byte) ((procesador.PC >> 8) & 0xFF)); // PC > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >cargador.cpp:99:51: error: âstruct Z80FRegs::<unnamed>â has no member named âPâ > 99 | fprintf(fichero, "%c%c", procesador.Rm.br.P, procesador.Rm.br.S); // SP > | ^ >cargador.cpp:99:71: error: âstruct Z80FRegs::<unnamed>â has no member named âSâ > 99 | fprintf(fichero, "%c%c", procesador.Rm.br.P, procesador.Rm.br.S); // SP > | ^ > >cargador.cpp:100:47: error: âstruct Z80FREEâ has no member named âIâ > 100 | fprintf(fichero, "%c%c%c", procesador.I, procesador.R, > | ^ >cargador.cpp:100:61: error: âstruct Z80FREEâ has no member named âRâ; did you mean âRaâ? > 100 | fprintf(fichero, "%c%c%c", procesador.I, procesador.R, > | ^ > | Ra >cargador.cpp:101:39: error: âstruct Z80FREEâ has no member named âR2â; did you mean âRaâ? > 101 | (((procesador.R2 >> 7) & 0x01) | ((screen->border << 1) & 0x0E))); // I, R and border color > | ^~ > | Ra >cargador.cpp:103:75: error: âstruct Z80FRegs::<unnamed>â has no member named âEâ > 103 | fprintf(fichero, "%c%c%c%c%c%c%c%c%c%c%c%c%c%c", procesador.Rm.br.E, > | ^ > >cargador.cpp:104:42: error: âstruct Z80FRegs::<unnamed>â has no member named âDâ > 104 | procesador.Rm.br.D, procesador.Ra.br.C, procesador.Ra.br.B, > | ^ >cargador.cpp:104:62: error: âstruct Z80FRegs::<unnamed>â has no member named âCâ > 104 | procesador.Rm.br.D, procesador.Ra.br.C, procesador.Ra.br.B, > | ^ > >cargador.cpp:104:82: error: âstruct Z80FRegs::<unnamed>â has no member named âBâ > 104 | procesador.Rm.br.D, procesador.Ra.br.C, procesador.Ra.br.B, > | ^ > >cargador.cpp:105:42: error: âstruct Z80FRegs::<unnamed>â has no member named âEâ > 105 | procesador.Ra.br.E, procesador.Ra.br.D, procesador.Ra.br.L, > | ^ >cargador.cpp:105:62: error: âstruct Z80FRegs::<unnamed>â has no member named âDâ > 105 | procesador.Ra.br.E, procesador.Ra.br.D, procesador.Ra.br.L, > | ^ > >cargador.cpp:105:82: error: âstruct Z80FRegs::<unnamed>â has no member named âLâ > 105 | procesador.Ra.br.E, procesador.Ra.br.D, procesador.Ra.br.L, > | ^ > >cargador.cpp:106:42: error: âstruct Z80FRegs::<unnamed>â has no member named âHâ > 106 | procesador.Ra.br.H, procesador.Ra.br.A, procesador.Ra.br.F, > | ^ >cargador.cpp:106:62: error: âstruct Z80FRegs::<unnamed>â has no member named âAâ > 106 | procesador.Ra.br.H, procesador.Ra.br.A, procesador.Ra.br.F, > | ^ > >cargador.cpp:106:82: error: âstruct Z80FRegs::<unnamed>â has no member named âFâ > 106 | procesador.Ra.br.H, procesador.Ra.br.A, procesador.Ra.br.F, > | ^ > >cargador.cpp:107:42: error: âstruct Z80FRegs::<unnamed>â has no member named âIYlâ > 107 | procesador.Rm.br.IYl, procesador.Rm.br.IYh, procesador.Rm.br.IXl, > | ^~~ >cargador.cpp:107:64: error: âstruct Z80FRegs::<unnamed>â has no member named âIYhâ > 107 | procesador.Rm.br.IYl, procesador.Rm.br.IYh, procesador.Rm.br.IXl, > | ^~~ > >cargador.cpp:107:86: error: âstruct Z80FRegs::<unnamed>â has no member named âIXlâ > 107 | procesador.Rm.br.IYl, procesador.Rm.br.IYh, procesador.Rm.br.IXl, > | ^~~ > >cargador.cpp:108:42: error: âstruct Z80FRegs::<unnamed>â has no member named âIXhâ > 108 | procesador.Rm.br.IXh); > | ^~~ >cargador.cpp:110:24: error: âstruct Z80FREEâ has no member named âIFF1â > 110 | if (procesador.IFF1) > | ^~~~ >cargador.cpp:115:24: error: âstruct Z80FREEâ has no member named âIFF2â > 115 | if (procesador.IFF2) > | ^~~~ >cargador.cpp:120:28: error: âstruct Z80FREEâ has no member named âIMâ > 120 | value = procesador.IM; > | ^~ >cargador.cpp:146:35: error: reference to âbyteâ is ambiguous > 146 | fprintf(fichero, "%c%c", (byte) (procesador.PC & 0x0FF), > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >cargador.cpp:147:26: error: reference to âbyteâ is ambiguous > 147 | (byte) ((procesador.PC >> 8) & 0x0FF)); // PC > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/string:40, > from tape.hh:30, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from tape.hh:35, > from computer.hh:26, > from cargador.hh:20, > from cargador.cpp:20: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >cargador.cpp:151:40: error: âclass SPK_AYâ has no member named âget_latchâ; did you mean âset_latchâ? > 151 | fprintf(fichero, "%c", spk_ay->get_latch()); // last selected AY register > | ^~~~~~~~~ > | set_latch >cargador.cpp:153:48: error: âclass SPK_AYâ has no member named âget_valueâ; did you mean âset_valueâ? > 153 | fprintf(fichero, "%c", spk_ay->get_value(bucle)); // AY registers > | ^~~~~~~~~ > | set_value >cargador.cpp: In function âint load_z80(const char*)â: >cargador.cpp:219:39: error: âstruct z80snapshotâ has no member named âtypeâ > 219 | snap->type = 0; // 48K > | ^~~~ >cargador.cpp:223:39: error: âstruct z80snapshotâ has no member named âtypeâ > 223 | snap->type = 1; // 128K > | ^~~~ >cargador.cpp:239:39: error: âstruct z80snapshotâ has no member named âtypeâ > 239 | snap->type = 0; // 48K > | ^~~~ >cargador.cpp:244:39: error: âstruct z80snapshotâ has no member named âtypeâ > 244 | snap->type = 1; // 128K > | ^~~~ >cargador.cpp:256:23: error: âstruct z80snapshotâ has no member named âtypeâ > 256 | snap->type = 0; // 48k > | ^~~~ >cargador.cpp:261:23: error: âstruct z80snapshotâ has no member named âissueâ > 261 | snap->issue = 2; // issue2 > | ^~~~~ >cargador.cpp:264:23: error: âstruct z80snapshotâ has no member named âissueâ > 264 | snap->issue = 3; // issue3 > | ^~~~~ >cargador.cpp:267:15: error: âstruct z80snapshotâ has no member named âAâ > 267 | snap->A = tempo[0]; > | ^ >cargador.cpp:268:15: error: âstruct z80snapshotâ has no member named âFâ > 268 | snap->F = tempo[1]; > | ^ >cargador.cpp:269:15: error: âstruct z80snapshotâ has no member named âCâ; did you mean âPCâ? > 269 | snap->C = tempo[2]; > | ^ > | PC >cargador.cpp:270:15: error: âstruct z80snapshotâ has no member named âBâ > 270 | snap->B = tempo[3]; > | ^ >cargador.cpp:271:15: error: âstruct z80snapshotâ has no member named âLâ > 271 | snap->L = tempo[4]; > | ^ >cargador.cpp:272:15: error: âstruct z80snapshotâ has no member named âHâ > 272 | snap->H = tempo[5]; > | ^ >cargador.cpp:283:15: error: âstruct z80snapshotâ has no member named âIâ; did you mean âIXâ? > 283 | snap->I = tempo[10]; > | ^ > | IX >cargador.cpp:284:15: error: âstruct z80snapshotâ has no member named âRâ > 284 | snap->R = (tempo[11] & 0x7F); > | ^ >cargador.cpp:292:23: error: âstruct z80snapshotâ has no member named âRâ > 292 | snap->R |= 0x80; > | ^ >cargador.cpp:294:15: error: âstruct z80snapshotâ has no member named âborderâ > 294 | snap->border = (tempo[12] >> 1) & 0x07; > | ^~~~~~ >cargador.cpp:301:15: error: âstruct z80snapshotâ has no member named âEâ > 301 | snap->E = tempo[13]; > | ^ >cargador.cpp:302:15: error: âstruct z80snapshotâ has no member named âDâ > 302 | snap->D = tempo[14]; > | ^ >cargador.cpp:303:15: error: âstruct z80snapshotâ has no member named âCCâ; did you mean âPCâ? > 303 | snap->CC = tempo[15]; > | ^~ > | PC >cargador.cpp:304:15: error: âstruct z80snapshotâ has no member named âBBâ > 304 | snap->BB = tempo[16]; > | ^~ >cargador.cpp:305:15: error: âstruct z80snapshotâ has no member named âEEâ > 305 | snap->EE = tempo[17]; > | ^~ >cargador.cpp:306:15: error: âstruct z80snapshotâ has no member named âDDâ > 306 | snap->DD = tempo[18]; > | ^~ >cargador.cpp:307:15: error: âstruct z80snapshotâ has no member named âLLâ > 307 | snap->LL = tempo[19]; > | ^~ >cargador.cpp:308:15: error: âstruct z80snapshotâ has no member named âHHâ > 308 | snap->HH = tempo[20]; > | ^~ >cargador.cpp:309:15: error: âstruct z80snapshotâ has no member named âAAâ > 309 | snap->AA = tempo[21]; > | ^~ >cargador.cpp:310:15: error: âstruct z80snapshotâ has no member named âFFâ > 310 | snap->FF = tempo[22]; > | ^~ >cargador.cpp:315:23: error: âstruct z80snapshotâ has no member named âIFF1â > 315 | snap->IFF1 = 1; > | ^~~~ >cargador.cpp:317:23: error: âstruct z80snapshotâ has no member named âIFF1â > 317 | snap->IFF1 = 0; > | ^~~~ >cargador.cpp:320:23: error: âstruct z80snapshotâ has no member named âIFF2â > 320 | snap->IFF2 = 1; > | ^~~~ >cargador.cpp:322:23: error: âstruct z80snapshotâ has no member named âIFF2â > 322 | snap->IFF2 = 0; > | ^~~~ >cargador.cpp:326:23: error: âstruct z80snapshotâ has no member named âImodeâ > 326 | snap->Imode = 0; > | ^~~~~ >cargador.cpp:329:23: error: âstruct z80snapshotâ has no member named âImodeâ > 329 | snap->Imode = 1; > | ^~~~~ >cargador.cpp:332:23: error: âstruct z80snapshotâ has no member named âImodeâ > 332 | snap->Imode = 2; > | ^~~~~ >cargador.cpp:339:23: error: âstruct z80snapshotâ has no member named âpagerâ; did you mean âpageâ? > 339 | snap->pager = tempo2[5]; > | ^~~~~ > | page >cargador.cpp:342:27: error: âstruct z80snapshotâ has no member named âtypeâ > 342 | if (snap->type == 1) { // 128K snapshot > | ^~~~ >cargador.cpp: In function âint load_sna(const char*)â: >cargador.cpp:483:15: error: âstruct z80snapshotâ has no member named âtypeâ > 483 | snap->type = type; > | ^~~~ >cargador.cpp:489:15: error: âstruct z80snapshotâ has no member named âissueâ > 489 | snap->issue = 3; > | ^~~~~ >cargador.cpp:492:15: error: âstruct z80snapshotâ has no member named âIâ; did you mean âIXâ? > 492 | snap->I = tempo[0]; > | ^ > | IX >cargador.cpp:493:15: error: âstruct z80snapshotâ has no member named âLLâ > 493 | snap->LL = tempo[1]; > | ^~ >cargador.cpp:494:15: error: âstruct z80snapshotâ has no member named âHHâ > 494 | snap->HH = tempo[2]; > | ^~ >cargador.cpp:495:15: error: âstruct z80snapshotâ has no member named âEEâ > 495 | snap->EE = tempo[3]; > | ^~ >cargador.cpp:496:15: error: âstruct z80snapshotâ has no member named âDDâ > 496 | snap->DD = tempo[4]; > | ^~ >cargador.cpp:497:15: error: âstruct z80snapshotâ has no member named âCCâ; did you mean âPCâ? > 497 | snap->CC = tempo[5]; > | ^~ > | PC >cargador.cpp:498:15: error: âstruct z80snapshotâ has no member named âBBâ > 498 | snap->BB = tempo[6]; > | ^~ >cargador.cpp:499:15: error: âstruct z80snapshotâ has no member named âFFâ > 499 | snap->FF = tempo[7]; > | ^~ >cargador.cpp:500:15: error: âstruct z80snapshotâ has no member named âAAâ > 500 | snap->AA = tempo[8]; > | ^~ >cargador.cpp:502:15: error: âstruct z80snapshotâ has no member named âLâ > 502 | snap->L = tempo[9]; > | ^ >cargador.cpp:503:15: error: âstruct z80snapshotâ has no member named âHâ > 503 | snap->H = tempo[10]; > | ^ >cargador.cpp:504:15: error: âstruct z80snapshotâ has no member named âEâ > 504 | snap->E = tempo[11]; > | ^ >cargador.cpp:505:15: error: âstruct z80snapshotâ has no member named âDâ > 505 | snap->D = tempo[12]; > | ^ >cargador.cpp:506:15: error: âstruct z80snapshotâ has no member named âCâ; did you mean âPCâ? > 506 | snap->C = tempo[13]; > | ^ > | PC >cargador.cpp:507:15: error: âstruct z80snapshotâ has no member named âBâ > 507 | snap->B = tempo[14]; > | ^ >cargador.cpp:513:23: error: âstruct z80snapshotâ has no member named âIFF1â > 513 | snap->IFF1 = 1; > | ^~~~ >cargador.cpp:515:23: error: âstruct z80snapshotâ has no member named âIFF1â > 515 | snap->IFF1 = 0; > | ^~~~ >cargador.cpp:519:23: error: âstruct z80snapshotâ has no member named âIFF2â > 519 | snap->IFF2 = 1; > | ^~~~ >cargador.cpp:521:23: error: âstruct z80snapshotâ has no member named âIFF2â > 521 | snap->IFF2 = 0; > | ^~~~ >cargador.cpp:524:15: error: âstruct z80snapshotâ has no member named âRâ > 524 | snap->R = tempo[20]; > | ^ >cargador.cpp:525:15: error: âstruct z80snapshotâ has no member named âFâ > 525 | snap->F = tempo[21]; > | ^ >cargador.cpp:526:15: error: âstruct z80snapshotâ has no member named âAâ > 526 | snap->A = tempo[22]; > | ^ >cargador.cpp:528:15: error: âstruct z80snapshotâ has no member named âImodeâ > 528 | snap->Imode = tempo[25]; > | ^~~~~ >cargador.cpp:529:15: error: âstruct z80snapshotâ has no member named âborderâ > 529 | snap->border = tempo[26]; > | ^~~~~~ >cargador.cpp:550:23: error: âstruct z80snapshotâ has no member named âIFF1â > 550 | snap->IFF1 = snap->IFF2; > | ^~~~ >cargador.cpp:550:36: error: âstruct z80snapshotâ has no member named âIFF2â > 550 | snap->IFF1 = snap->IFF2; > | ^~~~ >cargador.cpp:559:23: error: âstruct z80snapshotâ has no member named âpagerâ; did you mean âpageâ? > 559 | snap->pager = v1; > | ^~~~~ > | page >cargador.cpp: In function âvoid load_snap(z80snapshot*)â: >cargador.cpp:587:23: error: âstruct z80snapshotâ has no member named âtypeâ > 587 | switch (snap->type) { > | ^~~~ >cargador.cpp:591:42: error: âstruct z80snapshotâ has no member named âissueâ > 591 | ordenador->issue = snap->issue; > | ^~~~~ >cargador.cpp:599:45: error: âstruct z80snapshotâ has no member named âpagerâ; did you mean âpageâ? > 599 | printf("Pager: %X\n", snap->pager); > | ^~~~~ > | page >cargador.cpp:600:43: error: âstruct z80snapshotâ has no member named âpagerâ; did you mean âpageâ? > 600 | Z80free_Out(0x7FFD, snap->pager); > | ^~~~~ > | page >cargador.cpp:608:26: error: âstruct Z80FRegs::<unnamed>â has no member named âAâ > 608 | procesador.Rm.br.A = snap->A; > | ^ >cargador.cpp:608:36: error: âstruct z80snapshotâ has no member named âAâ > 608 | procesador.Rm.br.A = snap->A; > | ^ >cargador.cpp:609:26: error: âstruct Z80FRegs::<unnamed>â has no member named âFâ > 609 | procesador.Rm.br.F = snap->F; > | ^ >cargador.cpp:609:36: error: âstruct z80snapshotâ has no member named âFâ > 609 | procesador.Rm.br.F = snap->F; > | ^ >cargador.cpp:610:26: error: âstruct Z80FRegs::<unnamed>â has no member named âBâ > 610 | procesador.Rm.br.B = snap->B; > | ^ >cargador.cpp:610:36: error: âstruct z80snapshotâ has no member named âBâ > 610 | procesador.Rm.br.B = snap->B; > | ^ >cargador.cpp:611:26: error: âstruct Z80FRegs::<unnamed>â has no member named âCâ > 611 | procesador.Rm.br.C = snap->C; > | ^ >cargador.cpp:611:36: error: âstruct z80snapshotâ has no member named âCâ; did you mean âPCâ? > 611 | procesador.Rm.br.C = snap->C; > | ^ > | PC >cargador.cpp:612:26: error: âstruct Z80FRegs::<unnamed>â has no member named âDâ > 612 | procesador.Rm.br.D = snap->D; > | ^ >cargador.cpp:612:36: error: âstruct z80snapshotâ has no member named âDâ > 612 | procesador.Rm.br.D = snap->D; > | ^ >cargador.cpp:613:26: error: âstruct Z80FRegs::<unnamed>â has no member named âEâ > 613 | procesador.Rm.br.E = snap->E; > | ^ >cargador.cpp:613:36: error: âstruct z80snapshotâ has no member named âEâ > 613 | procesador.Rm.br.E = snap->E; > | ^ >cargador.cpp:614:26: error: âstruct Z80FRegs::<unnamed>â has no member named âHâ > 614 | procesador.Rm.br.H = snap->H; > | ^ >cargador.cpp:614:36: error: âstruct z80snapshotâ has no member named âHâ > 614 | procesador.Rm.br.H = snap->H; > | ^ >cargador.cpp:615:26: error: âstruct Z80FRegs::<unnamed>â has no member named âLâ > 615 | procesador.Rm.br.L = snap->L; > | ^ >cargador.cpp:615:36: error: âstruct z80snapshotâ has no member named âLâ > 615 | procesador.Rm.br.L = snap->L; > | ^ >cargador.cpp:616:67: error: âstruct z80snapshotâ has no member named âAâ > 616 | printf("A:%d F:%d B:%d C:%d D:%d E:%d H:%d L:%d\n", snap->A, snap->F, > | ^ > >cargador.cpp:616:76: error: âstruct z80snapshotâ has no member named âFâ > 616 | printf("A:%d F:%d B:%d C:%d D:%d E:%d H:%d L:%d\n", snap->A, snap->F, > | ^ > >cargador.cpp:617:31: error: âstruct z80snapshotâ has no member named âBâ > 617 | snap->B, snap->C, snap->D, snap->E, snap->H, snap->L); > | ^ >cargador.cpp:617:40: error: âstruct z80snapshotâ has no member named âCâ; did you mean âPCâ? > 617 | snap->B, snap->C, snap->D, snap->E, snap->H, snap->L); > | ^ > | PC >cargador.cpp:617:49: error: âstruct z80snapshotâ has no member named âDâ > 617 | snap->B, snap->C, snap->D, snap->E, snap->H, snap->L); > | ^ >cargador.cpp:617:58: error: âstruct z80snapshotâ has no member named âEâ > 617 | snap->B, snap->C, snap->D, snap->E, snap->H, snap->L); > | ^ >cargador.cpp:617:67: error: âstruct z80snapshotâ has no member named âHâ > 617 | snap->B, snap->C, snap->D, snap->E, snap->H, snap->L); > | ^ > >cargador.cpp:617:76: error: âstruct z80snapshotâ has no member named âLâ > 617 | snap->B, snap->C, snap->D, snap->E, snap->H, snap->L); > | ^ > >cargador.cpp:618:26: error: âstruct Z80FRegs::<unnamed>â has no member named âAâ > 618 | procesador.Ra.br.A = snap->AA; > | ^ >cargador.cpp:618:36: error: âstruct z80snapshotâ has no member named âAAâ > 618 | procesador.Ra.br.A = snap->AA; > | ^~ >cargador.cpp:619:26: error: âstruct Z80FRegs::<unnamed>â has no member named âFâ > 619 | procesador.Ra.br.F = snap->FF; > | ^ >cargador.cpp:619:36: error: âstruct z80snapshotâ has no member named âFFâ > 619 | procesador.Ra.br.F = snap->FF; > | ^~ >cargador.cpp:620:26: error: âstruct Z80FRegs::<unnamed>â has no member named âBâ > 620 | procesador.Ra.br.B = snap->BB; > | ^ >cargador.cpp:620:36: error: âstruct z80snapshotâ has no member named âBBâ > 620 | procesador.Ra.br.B = snap->BB; > | ^~ >cargador.cpp:621:26: error: âstruct Z80FRegs::<unnamed>â has no member named âCâ > 621 | procesador.Ra.br.C = snap->CC; > | ^ >cargador.cpp:621:36: error: âstruct z80snapshotâ has no member named âCCâ; did you mean âPCâ? > 621 | procesador.Ra.br.C = snap->CC; > | ^~ > | PC >cargador.cpp:622:26: error: âstruct Z80FRegs::<unnamed>â has no member named âDâ > 622 | procesador.Ra.br.D = snap->DD; > | ^ >cargador.cpp:622:36: error: âstruct z80snapshotâ has no member named âDDâ > 622 | procesador.Ra.br.D = snap->DD; > | ^~ >cargador.cpp:623:26: error: âstruct Z80FRegs::<unnamed>â has no member named âEâ > 623 | procesador.Ra.br.E = snap->EE; > | ^ >cargador.cpp:623:36: error: âstruct z80snapshotâ has no member named âEEâ > 623 | procesador.Ra.br.E = snap->EE; > | ^~ >cargador.cpp:624:26: error: âstruct Z80FRegs::<unnamed>â has no member named âHâ > 624 | procesador.Ra.br.H = snap->HH; > | ^ >cargador.cpp:624:36: error: âstruct z80snapshotâ has no member named âHHâ > 624 | procesador.Ra.br.H = snap->HH; > | ^~ >cargador.cpp:625:26: error: âstruct Z80FRegs::<unnamed>â has no member named âLâ > 625 | procesador.Ra.br.L = snap->LL; > | ^ >cargador.cpp:625:36: error: âstruct z80snapshotâ has no member named âLLâ > 625 | procesador.Ra.br.L = snap->LL; > | ^~ >cargador.cpp:626:67: error: âstruct z80snapshotâ has no member named âAAâ > 626 | printf("A:%d F:%d B:%d C:%d D:%d E:%d H:%d L:%d\n", snap->AA, snap->FF, > | ^~ > >cargador.cpp:626:77: error: âstruct z80snapshotâ has no member named âFFâ > 626 | printf("A:%d F:%d B:%d C:%d D:%d E:%d H:%d L:%d\n", snap->AA, snap->FF, > | ^~ > >cargador.cpp:627:31: error: âstruct z80snapshotâ has no member named âBBâ > 627 | snap->BB, snap->CC, snap->DD, snap->EE, snap->HH, snap->LL); > | ^~ >cargador.cpp:627:41: error: âstruct z80snapshotâ has no member named âCCâ; did you mean âPCâ? > 627 | snap->BB, snap->CC, snap->DD, snap->EE, snap->HH, snap->LL); > | ^~ > | PC >cargador.cpp:627:51: error: âstruct z80snapshotâ has no member named âDDâ > 627 | snap->BB, snap->CC, snap->DD, snap->EE, snap->HH, snap->LL); > | ^~ >cargador.cpp:627:61: error: âstruct z80snapshotâ has no member named âEEâ > 627 | snap->BB, snap->CC, snap->DD, snap->EE, snap->HH, snap->LL); > | ^~ >cargador.cpp:627:71: error: âstruct z80snapshotâ has no member named âHHâ > 627 | snap->BB, snap->CC, snap->DD, snap->EE, snap->HH, snap->LL); > | ^~ > >cargador.cpp:627:81: error: âstruct z80snapshotâ has no member named âLLâ > 627 | snap->BB, snap->CC, snap->DD, snap->EE, snap->HH, snap->LL); > | ^~ > >cargador.cpp:633:20: error: âstruct Z80FREEâ has no member named âIâ > 633 | procesador.I = snap->I; > | ^ >cargador.cpp:633:30: error: âstruct z80snapshotâ has no member named âIâ; did you mean âIXâ? > 633 | procesador.I = snap->I; > | ^ > | IX >cargador.cpp:634:20: error: âstruct Z80FREEâ has no member named âRâ; did you mean âRaâ? > 634 | procesador.R = snap->R; > | ^ > | Ra >cargador.cpp:634:30: error: âstruct z80snapshotâ has no member named âRâ > 634 | procesador.R = snap->R; > | ^ >cargador.cpp:635:20: error: âstruct Z80FREEâ has no member named âR2â; did you mean âRaâ? > 635 | procesador.R2 = snap->R; > | ^~ > | Ra >cargador.cpp:635:31: error: âstruct z80snapshotâ has no member named âRâ > 635 | procesador.R2 = snap->R; > | ^ >cargador.cpp:636:37: error: âstruct z80snapshotâ has no member named âIâ; did you mean âIXâ? > 636 | printf("I:%d R:%d\n", snap->I, snap->R); > | ^ > | IX >cargador.cpp:636:46: error: âstruct z80snapshotâ has no member named âRâ > 636 | printf("I:%d R:%d\n", snap->I, snap->R); > | ^ >cargador.cpp:638:19: error: âstruct z80snapshotâ has no member named âIFF1â > 638 | if (snap->IFF1) { > | ^~~~ >cargador.cpp:639:28: error: âstruct Z80FREEâ has no member named âIFF1â > 639 | procesador.IFF1 = 1; > | ^~~~ >cargador.cpp:641:28: error: âstruct Z80FREEâ has no member named âIFF1â > 641 | procesador.IFF1 = 0; > | ^~~~ >cargador.cpp:643:19: error: âstruct z80snapshotâ has no member named âIFF2â > 643 | if (snap->IFF2) { > | ^~~~ >cargador.cpp:644:28: error: âstruct Z80FREEâ has no member named âIFF2â > 644 | procesador.IFF2 = 1; > | ^~~~ >cargador.cpp:646:28: error: âstruct Z80FREEâ has no member named âIFF2â > 646 | procesador.IFF2 = 0; > | ^~~~ >cargador.cpp:649:20: error: âstruct Z80FREEâ has no member named âIMâ > 649 | procesador.IM = snap->Imode; > | ^~ >cargador.cpp:649:31: error: âstruct z80snapshotâ has no member named âImodeâ > 649 | procesador.IM = snap->Imode; > | ^~~~~ >cargador.cpp:650:37: error: âstruct z80snapshotâ has no member named âborderâ > 650 | Z80free_Out(0xFFFE, ((snap->border & 0x07) | 0x10)); > | ^~~~~~ >cargador.cpp:652:23: error: âstruct z80snapshotâ has no member named âtypeâ > 652 | switch (snap->type) { > | ^~~~ >cargador.cpp: In function âvoid uncompress_z80(FILE*, int, unsigned char*)â: >cargador.cpp:48:30: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 48 | fread(&byte_loaded, 1, 1, fichero); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cargador.cpp:52:30: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 52 | fread(&byte_loaded, 1, 1, fichero); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cargador.cpp: In function âint load_z80(const char*)â: >cargador.cpp:196:14: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 196 | fread(tempo, 1, 30, fichero); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >cargador.cpp:202:22: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 202 | fread(tempo2, 1, 2, fichero); // read the length of the extension > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >cargador.cpp:213:22: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 213 | fread(tempo2 + 2, 1, longitud, fichero); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cargador.cpp:429:30: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 429 | fread(snap->page[0], 16384, 1, fichero); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cargador.cpp:430:30: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 430 | fread(snap->page[1], 16384, 1, fichero); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cargador.cpp:431:30: warning: ignoring return value of âsize_t fread(void*, size_t, size_t, FILE*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 431 | fread(snap->page[2], 16384, 1, fichero); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make[1]: *** [Makefile:34: cargador.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >In file included from computer.cpp:30: >microdrive.hh:40:9: error: reference to âbyteâ is ambiguous > 40 | byte mdr_old_STATUS; // to detect an edge in COM CLK > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:30: >microdrive.hh:42:9: error: reference to âbyteâ is ambiguous > 42 | byte trash; > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:30: >microdrive.hh:47:9: error: reference to âbyteâ is ambiguous > 47 | byte in(word); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:30: >microdrive.hh:48:23: error: reference to âbyteâ is ambiguous > 48 | void out(word,byte); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:30: >microdrive.hh:48:23: error: âbyteâ has not been declared > 48 | void out(word,byte); > | ^~~~ >In file included from computer.cpp:31: >spk_ay.hh:49:24: error: reference to âbyteâ is ambiguous > 49 | void set_latch(byte); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:31: >spk_ay.hh:49:24: error: âbyteâ has not been declared > 49 | void set_latch(byte); > | ^~~~ >spk_ay.hh:50:24: error: reference to âbyteâ is ambiguous > 50 | void set_value(byte); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:31: >spk_ay.hh:50:24: error: âbyteâ has not been declared > 50 | void set_value(byte); > | ^~~~ >spk_ay.hh:51:9: error: reference to âbyteâ is ambiguous > 51 | byte get_latch(); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:31: >spk_ay.hh:52:9: error: reference to âbyteâ is ambiguous > 52 | byte get_value(); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from computer.cpp:31: >spk_ay.hh:53:9: error: reference to âbyteâ is ambiguous > 53 | byte get_value(int); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >In file included from tape.hh:34, > from computer.cpp:32: >computer.hh:96:9: error: reference to âbyteâ is ambiguous > 96 | byte bus_empty(); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp:94:1: error: reference to âbyteâ is ambiguous > 94 | byte computer::bus_empty () { > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp:184:29: error: reference to âbyteâ is ambiguous > 184 | void Z80free_Wr (word Addr, byte Value) { > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp:184:29: error: âbyteâ has not been declared > 184 | void Z80free_Wr (word Addr, byte Value) { > | ^~~~ >computer.cpp:217:1: error: reference to âbyteâ is ambiguous > 217 | byte Z80free_Rd (word Addr) { > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp: In member function âuint8_t computer::read_memory(uint16_t)â: >computer.cpp:239:26: error: reference to âbyteâ is ambiguous > 239 | return ((byte) (*(ordenador->block0 + Addr))); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp:243:26: error: reference to âbyteâ is ambiguous > 243 | return ((byte) (*(ordenador->block1 + Addr))); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp:247:26: error: reference to âbyteâ is ambiguous > 247 | return ((byte) (*(ordenador->block2 + Addr))); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp:251:26: error: reference to âbyteâ is ambiguous > 251 | return ((byte) (*(ordenador->block3 + Addr))); > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp: At global scope: >computer.cpp:261:30: error: reference to âbyteâ is ambiguous > 261 | void Z80free_Out (word Port, byte Value) { > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >computer.cpp:261:30: error: âbyteâ has not been declared > 261 | void Z80free_Out (word Port, byte Value) { > | ^~~~ >computer.cpp: In function âvoid Z80free_Out(word, int)â: >computer.cpp:265:23: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 265 | register word maskport; > | ^~~~~~~~ >computer.cpp: At global scope: >computer.cpp:329:1: error: reference to âbyteâ is ambiguous > 329 | byte Z80free_In (word Port) { > | ^~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/istream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/sstream:38, > from computer.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/cpp_type_traits.h:404:30: note: candidates are: âenum class std::byteâ > 404 | enum class byte : unsigned char; > | ^~~~ >In file included from emulator.hh:22, > from computer.cpp:27: >z80free/Z80free.h:28:23: note: âtypedef unsigned char byteâ > 28 | typedef unsigned char byte; > | ^~~~ >make[1]: *** [Makefile:40: computer.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work/fbzx-3.0.0/src' >make: *** [Makefile:8: all] Error 2 > * ERROR: games-emulation/fbzx-3.0.0-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-emulation/fbzx-3.0.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-emulation/fbzx-3.0.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/games-emulation:fbzx-3.0.0-r1:20210511-202900.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/fbzx-3.0.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-emulation/fbzx-3.0.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work/fbzx-3.0.0' > * S: '/var/tmp/portage/games-emulation/fbzx-3.0.0-r1/work/fbzx-3.0.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 789597
:
707256
|
707259
|
707262
|
707265
| 707268 |
707271