Code Monkey home page Code Monkey logo

dshba's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dillonb ggrtk

dshba's Issues

Build errors

Build fails with ~200 various errors in almost every file.

Details

In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h:46:18: error: missing binary operator before token "("
46 | #if __has_builtin(__builtin_bitreverse8)
| ^
In file included from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h:46:18: error: missing binary operator before token "("
46 | #if __has_builtin(__builtin_bitreverse8)
| ^
In file included from /home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h:46:18: error: missing binary operator before token "("
46 | #if __has_builtin(__builtin_bitreverse8)
| ^
/home/solitude/git/DSHBA/include/helpers.h:59:18: error: missing binary operator before token "("
59 | #if __has_builtin(__builtin_popcount)
| ^
In file included from /home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h:46:18: error: missing binary operator before token "("
46 | #if __has_builtin(__builtin_bitreverse8)
| ^
/home/solitude/git/DSHBA/include/helpers.h:59:18: error: missing binary operator before token "("
59 | #if __has_builtin(__builtin_popcount)
| ^
/home/solitude/git/DSHBA/include/helpers.h:59:18: error: missing binary operator before token "("
59 | #if __has_builtin(__builtin_popcount)
| ^
/home/solitude/git/DSHBA/include/helpers.h:75:18: error: missing binary operator before token "("
75 | #if __has_builtin(__builtin_clz)
| ^
/home/solitude/git/DSHBA/include/helpers.h:59:18: error: missing binary operator before token "("
59 | #if __has_builtin(__builtin_popcount)
| ^
/home/solitude/git/DSHBA/include/helpers.h:75:18: error: missing binary operator before token "("
75 | #if __has_builtin(__builtin_clz)
| ^
/home/solitude/git/DSHBA/include/helpers.h:75:18: error: missing binary operator before token "("
75 | #if __has_builtin(__builtin_clz)
| ^
/home/solitude/git/DSHBA/include/helpers.h:75:18: error: missing binary operator before token "("
75 | #if __has_builtin(__builtin_clz)
| ^
/home/solitude/git/DSHBA/include/helpers.h:113:20: error: missing binary operator before token "("
113 | #if __is_identifier(__builtin_expect) || __has_builtin(__builtin_expect)
| ^
/home/solitude/git/DSHBA/include/helpers.h:113:20: error: missing binary operator before token "("
113 | #if __is_identifier(__builtin_expect) || __has_builtin(__builtin_expect)
| ^
/home/solitude/git/DSHBA/include/helpers.h:113:20: error: missing binary operator before token "("
113 | #if __is_identifier(__builtin_expect) || __has_builtin(__builtin_expect)
| ^
/home/solitude/git/DSHBA/include/helpers.h:121:18: error: missing binary operator before token "("
121 | #if __has_builtin(__builtin_unreachable)
| ^
/home/solitude/git/DSHBA/include/helpers.h:121:18: error: missing binary operator before token "("
121 | #if __has_builtin(__builtin_unreachable)
| ^
/home/solitude/git/DSHBA/include/helpers.h:113:20: error: missing binary operator before token "("
113 | #if __is_identifier(__builtin_expect) || __has_builtin(__builtin_expect)
| ^
/home/solitude/git/DSHBA/include/helpers.h:127:18: error: missing binary operator before token "("
127 | #if __has_builtin(__builtin_assume)
| ^
/home/solitude/git/DSHBA/include/helpers.h:121:18: error: missing binary operator before token "("
121 | #if __has_builtin(__builtin_unreachable)
| ^
/home/solitude/git/DSHBA/include/helpers.h:127:18: error: missing binary operator before token "("
127 | #if __has_builtin(__builtin_assume)
| ^
/home/solitude/git/DSHBA/include/helpers.h:121:18: error: missing binary operator before token "("
121 | #if __has_builtin(__builtin_unreachable)
| ^
/home/solitude/git/DSHBA/include/helpers.h:127:18: error: missing binary operator before token "("
127 | #if __has_builtin(__builtin_assume)
| ^
/home/solitude/git/DSHBA/include/helpers.h:133:18: error: missing binary operator before token "("
133 | #if __has_builtin(__builtin_assume_aligned)
| ^
/home/solitude/git/DSHBA/include/helpers.h:133:18: error: missing binary operator before token "("
133 | #if __has_builtin(__builtin_assume_aligned)
| ^
/home/solitude/git/DSHBA/include/helpers.h:127:18: error: missing binary operator before token "("
127 | #if __has_builtin(__builtin_assume)
| ^
/home/solitude/git/DSHBA/include/helpers.h:133:18: error: missing binary operator before token "("
133 | #if __has_builtin(__builtin_assume_aligned)
| ^
/home/solitude/git/DSHBA/include/helpers.h:133:18: error: missing binary operator before token "("
133 | #if __has_builtin(__builtin_assume_aligned)
| ^
/home/solitude/git/DSHBA/include/helpers.h:154: warning: "LITTLE_ENDIAN" redefined
154 | #define LITTLE_ENDIAN
|
/home/solitude/git/DSHBA/include/helpers.h:154: warning: "LITTLE_ENDIAN" redefined
154 | #define LITTLE_ENDIAN
|
/home/solitude/git/DSHBA/include/helpers.h:154: warning: "LITTLE_ENDIAN" redefined
154 | #define LITTLE_ENDIAN
|
/home/solitude/git/DSHBA/include/helpers.h:154: warning: "LITTLE_ENDIAN" redefined
154 | #define LITTLE_ENDIAN
|
In file included from /usr/include/sys/types.h:176,
from /usr/include/stdlib.h:394,
from /usr/include/c++/9.3/cstdlib:75,
from /usr/include/c++/9.3/stdlib.h:36,
from /home/solitude/git/DSHBA/include/log.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../Mem/MemoryHelpers.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:7,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/usr/include/endian.h:45: note: this is the location of the previous definition
45 | # define LITTLE_ENDIAN __LITTLE_ENDIAN
|
In file included from /usr/include/sys/types.h:176,
from /usr/include/stdlib.h:394,
from /usr/include/c++/9.3/cstdlib:75,
from /usr/include/c++/9.3/stdlib.h:36,
from /home/solitude/git/DSHBA/include/log.h:5,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../Mem/MemoryHelpers.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:7,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/usr/include/endian.h:45: note: this is the location of the previous definition
45 | # define LITTLE_ENDIAN __LITTLE_ENDIAN
|
In file included from /usr/include/sys/types.h:176,
from /usr/include/stdlib.h:394,
from /usr/include/c++/9.3/cstdlib:75,
from /usr/include/c++/9.3/stdlib.h:36,
from /home/solitude/git/DSHBA/include/log.h:5,
from /home/solitude/git/DSHBA/src/Core/PPU/../Mem/MemoryHelpers.h:4,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.h:3,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:1:
/usr/include/endian.h:45: note: this is the location of the previous definition
45 | # define LITTLE_ENDIAN __LITTLE_ENDIAN
|
In file included from /usr/include/sys/types.h:176,
from /usr/include/stdlib.h:394,
from /usr/include/c++/9.3/cstdlib:75,
from /usr/include/c++/9.3/stdlib.h:36,
from /home/solitude/git/DSHBA/include/log.h:5,
from /home/solitude/git/DSHBA/src/Core/IO/../Mem/MemoryHelpers.h:4,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:7,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/usr/include/endian.h:45: note: this is the location of the previous definition
45 | # define LITTLE_ENDIAN __LITTLE_ENDIAN
|
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:308:43: error: missing binary operator before token "("
308 | #if defined(FAST_ADD_SUB) && __has_builtin(__builtin_addc)
| ^
In file included from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:308:43: error: missing binary operator before token "("
308 | #if defined(FAST_ADD_SUB) && __has_builtin(__builtin_addc)
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:320:48: error: missing binary operator before token "("
320 | #if 0 && defined(FAST_ADD_SUB) && __has_builtin(__builtin_sadd_overflow)
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:320:48: error: missing binary operator before token "("
320 | #if 0 && defined(FAST_ADD_SUB) && __has_builtin(__builtin_sadd_overflow)
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:341:43: error: missing binary operator before token "("
341 | #if defined(FAST_ADD_SUB) && __has_builtin(__builtin_subc)
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:341:43: error: missing binary operator before token "("
341 | #if defined(FAST_ADD_SUB) && __has_builtin(__builtin_subc)
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:354:48: error: missing binary operator before token "("
354 | #if 0 && defined(FAST_ADD_SUB) && __has_builtin(__builtin_ssub_overflow)
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:354:48: error: missing binary operator before token "("
354 | #if 0 && defined(FAST_ADD_SUB) && __has_builtin(__builtin_ssub_overflow)
| ^
[ 21%] Building CXX object src/Frontend/CMakeFiles/Frontend.dir/frontend.cpp.o
In file included from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 popcount(u32)':
/home/solitude/git/DSHBA/include/helpers.h:64:12: error: '__popcnt' was not declared in this scope; did you mean '__popcntq'?
64 | return __popcnt(x);
| ^~~~~~~~
| __popcntq
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 ctlz(u32)':
/home/solitude/git/DSHBA/include/helpers.h:80:12: error: '__lzcnt' was not declared in this scope; did you mean '__lzcnt64'?
80 | return __lzcnt(x);
| ^~~~~~~
| __lzcnt64
In file included from /home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 popcount(u32)':
/home/solitude/git/DSHBA/include/helpers.h:64:12: error: '__popcnt' was not declared in this scope; did you mean '__popcntq'?
64 | return __popcnt(x);
| ^~~~~~~~
| __popcntq
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 popcount(u32)':
/home/solitude/git/DSHBA/include/helpers.h:64:12: error: '__popcnt' was not declared in this scope; did you mean '__popcntq'?
64 | return __popcnt(x);
| ^~~~~~~~
| __popcntq
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 ctlz(u32)':
/home/solitude/git/DSHBA/include/helpers.h:80:12: error: '__lzcnt' was not declared in this scope; did you mean '__lzcnt64'?
80 | return __lzcnt(x);
| ^~~~~~~
| __lzcnt64
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 ctlz(u32)':
/home/solitude/git/DSHBA/include/helpers.h:80:12: error: '__lzcnt' was not declared in this scope; did you mean '__lzcnt64'?
80 | return __lzcnt(x);
| ^~~~~~~
| __lzcnt64
In file included from /home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 popcount(u32)':
/home/solitude/git/DSHBA/include/helpers.h:64:12: error: '__popcnt' was not declared in this scope; did you mean '__popcntq'?
64 | return __popcnt(x);
| ^~~~~~~~
| __popcntq
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 ctlz(u32)':
/home/solitude/git/DSHBA/include/helpers.h:80:12: error: '__lzcnt' was not declared in this scope; did you mean '__lzcnt64'?
80 | return __lzcnt(x);
| ^~~~~~~
| __lzcnt64
In file included from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h: At global scope:
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:73:8: warning: 's_scheduler' has a field 's_scheduler::queue' whose type uses the anonymous namespace [-Wsubobject-linkage]
73 | struct s_scheduler {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEvent(s_event*)':
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:114:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
114 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEventAfter(s_event*, u64)':
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:123:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
123 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../APU/APU.h:5,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:9,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../APU/Channels/Wave.h: In member function 'void Wave::SwitchBanks(u8)':
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../APU/Channels/Wave.h:40:13: error: 'memcpy' was not declared in this scope
40 | memcpy(Bank, WaveRAM_ptr, 16); // temp buffer new values
| ^~~~~~
/home/solitude/git/DSHBA/src/Core/Mem/../IO/../APU/Channels/Wave.h:8:1: note: 'memcpy' is defined in header ''; did you forget to '#include '?
7 | #include <assert.h>
+++ |+#include
8 |
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h: At global scope:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:73:8: warning: 's_scheduler' has a field 's_scheduler::queue' whose type uses the anonymous namespace [-Wsubobject-linkage]
73 | struct s_scheduler {
| ^~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h: At global scope:
/home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h:73:8: warning: 's_scheduler' has a field 's_scheduler::queue' whose type uses the anonymous namespace [-Wsubobject-linkage]
73 | struct s_scheduler {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEvent(s_event*)':
/home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h:114:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
114 | top = min(top, event->time);
| ^~~
| std::min
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEvent(s_event*)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:114:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
114 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEventAfter(s_event*, u64)':
/home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h:123:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
123 | top = min(top, event->time);
| ^~~
| std::min
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEventAfter(s_event*, u64)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:123:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
123 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:1:
/home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h: At global scope:
/home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h:73:8: warning: 's_scheduler' has a field 's_scheduler::queue' whose type uses the anonymous namespace [-Wsubobject-linkage]
73 | struct s_scheduler {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEvent(s_event*)':
/home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h:114:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
114 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:1:
/home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEventAfter(s_event*, u64)':
/home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h:123:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
123 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/usr/include/c++/9.3/sstream: At global scope:
/usr/include/c++/9.3/sstream:178:7: error: expected unqualified-id before string constant
178 | str() const
| ^~~
/usr/include/c++/9.3/sstream:202:7: error: expected unqualified-id before string constant
202 | str(const __string_type& __s)
| ^~~
/usr/include/c++/9.3/sstream:519:7: error: expected unqualified-id before string constant
519 | str() const
| ^~~
/usr/include/c++/9.3/sstream:529:7: error: expected unqualified-id before string constant
529 | str(const __string_type& __s)
| ^~~
/usr/include/c++/9.3/sstream:677:7: error: expected unqualified-id before string constant
677 | str() const
| ^~~
/usr/include/c++/9.3/sstream:687:7: error: expected unqualified-id before string constant
687 | str(const __string_type& __s)
| ^~~
/usr/include/c++/9.3/sstream:831:7: error: expected unqualified-id before string constant
831 | str() const
| ^~~
/usr/include/c++/9.3/sstream:841:7: error: expected unqualified-id before string constant
841 | str(const __string_type& __s)
| ^~~
/usr/include/c++/9.3/bits/quoted_string.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__detail::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__detail::_Quoted_string<const _CharT*, _CharT>&)':
/usr/include/c++/9.3/bits/quoted_string.h:106:24: error: expected unqualified-id before string constant
106 | return __os << __ostr.str();
| ^~~
In file included from /usr/include/c++/9.3/iomanip:45,
from /usr/include/c++/9.3/bits/fs_path.h:39,
from /usr/include/c++/9.3/filesystem:37,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:7:
/usr/include/c++/9.3/bits/quoted_string.h:106:24: error: expected ';' before string constant
106 | return __os << __ostr.str();
| ^
| ;
In file included from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:1:
/usr/include/c++/9.3/bits/quoted_string.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__detail::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__detail::_Quoted_string<_String, _CharT>&)':
/usr/include/c++/9.3/bits/quoted_string.h:130:24: error: expected unqualified-id before string constant
130 | return __os << __ostr.str();
| ^~~
In file included from /usr/include/c++/9.3/iomanip:45,
from /usr/include/c++/9.3/bits/fs_path.h:39,
from /usr/include/c++/9.3/filesystem:37,
from /home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:7:
/usr/include/c++/9.3/bits/quoted_string.h:130:24: error: expected ';' before string constant
130 | return __os << __ostr.str();
| ^
| ;
In file included from /home/solitude/git/DSHBA/src/Core/IO/../APU/APU.h:5,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.h:9,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:1:
/home/solitude/git/DSHBA/src/Core/IO/../APU/Channels/Wave.h: In member function 'void Wave::SwitchBanks(u8)':
/home/solitude/git/DSHBA/src/Core/IO/../APU/Channels/Wave.h:40:13: error: 'memcpy' was not declared in this scope
40 | memcpy(Bank, WaveRAM_ptr, 16); // temp buffer new values
| ^~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/APU.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:9,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/Channels/Wave.h: In member function 'void Wave::SwitchBanks(u8)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/Channels/Wave.h:40:13: error: 'memcpy' was not declaredin this scope
40 | memcpy(Bank, WaveRAM_ptr, 16); // temp buffer new values
| ^~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../APU/Channels/Wave.h:8:1: note: 'memcpy' is defined in header ''; did you forget to '#include '?
7 | #include <assert.h>
+++ |+#include
8 |
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/Channels/Wave.h:8:1: note: 'memcpy' is defined in header ''; did you forget to '#include '?
7 | #include <assert.h>
+++ |+#include
8 |
/home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp: In member function 'void Mem::LoadBIOS(const string&)':
/home/solitude/git/DSHBA/src/Core/Mem/Mem.cpp:198:13: error: 'memcpy_s' was not declared in this scope; did you mean 'memcpy'?
198 | memcpy_s(BIOS, sizeof(BIOS), NormattsBIOS, sizeof(NormattsBIOS));
| ^~~~~~~~
| memcpy
In file included from /home/solitude/git/DSHBA/src/Core/PPU/../IO/../APU/APU.h:5,
from /home/solitude/git/DSHBA/src/Core/PPU/../IO/MMIO.h:9,
from /home/solitude/git/DSHBA/src/Core/PPU/PPU.cpp:3:
/home/solitude/git/DSHBA/src/Core/PPU/../IO/../APU/Channels/Wave.h: In member function 'void Wave::SwitchBanks(u8)':
/home/solitude/git/DSHBA/src/Core/PPU/../IO/../APU/Channels/Wave.h:40:13: error: 'memcpy' was not declared in this scope
40 | memcpy(Bank, WaveRAM_ptr, 16); // temp buffer new values
| ^~~~~~
/home/solitude/git/DSHBA/src/Core/PPU/../IO/../APU/Channels/Wave.h:8:1: note: 'memcpy' is defined in header ''; did you forget to '#include '?
7 | #include <assert.h>
+++ |+#include
8 |
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h: At global scope:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:59:14: error: typedef '__fastcall' is initialized (use decltype instead)
59 | typedef void __fastcall (ARM7TDMI::*ARMInstructionPtr)(u32 instruction);
| ^~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h: At global scope:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:59:14: error: typedef '__fastcall' is initialized (use decltype instead)
59 | typedef void __fastcall (ARM7TDMI::ARMInstructionPtr)(u32 instruction);
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:59:36: error: expected unqualified-id before '
' token
59 | typedef void __fastcall (ARM7TDMI::ARMInstructionPtr)(u32 instruction);
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:59:36: error: expected unqualified-id before '
' token
59 | typedef void __fastcall (ARM7TDMI::ARMInstructionPtr)(u32 instruction);
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:59:37: error: 'ARMInstructionPtr' was not declared in this scope
59 | typedef void __fastcall (ARM7TDMI::ARMInstructionPtr)(u32 instruction);
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:60:14: error: typedef '__fastcall' is initialized (use decltype instead)
60 | typedef void __fastcall (ARM7TDMI::THUMBInstructionPtr)(u16 instruction);
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:60:36: error: expected unqualified-id before '
' token
60 | typedef void __fastcall (ARM7TDMI::THUMBInstructionPtr)(u16 instruction);
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:59:37: error: 'ARMInstructionPtr' was not declared in thisscope
59 | typedef void __fastcall (ARM7TDMI::ARMInstructionPtr)(u32 instruction);
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:60:14: error: typedef '__fastcall' is initialized (use decltype instead)
60 | typedef void __fastcall (ARM7TDMI::THUMBInstructionPtr)(u16 instruction);
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:60:36: error: expected unqualified-id before '
' token
60 | typedef void __fastcall (ARM7TDMI::THUMBInstructionPtr)(u16 instruction);
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:60:37: error: 'THUMBInstructionPtr' was not declared in this scope; did you mean 'THUMBInstructionTableSize'?
60 | typedef void __fastcall (ARM7TDMI::THUMBInstructionPtr)(u16 instruction);
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:60:37: error: 'THUMBInstructionPtr' was not declared in this scope; did you mean 'THUMBInstructionTableSize'?
60 | typedef void __fastcall (ARM7TDMI::THUMBInstructionPtr)(u16 instruction);
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:183:5: error: 'ARMInstructionPtr' does not name a type
183 | ARMInstructionPtr ARMInstructions[ARMInstructionTableSize] = {};
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:183:5: error: 'ARMInstructionPtr' does not name a type
183 | ARMInstructionPtr ARMInstructions[ARMInstructionTableSize] = {};
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:185:5: error: 'THUMBInstructionPtr' does not name a type; did you mean 'THUMBInstructionTableSize'?
185 | THUMBInstructionPtr THUMBInstructions[THUMBInstructionTableSize] = {};
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:185:5: error: 'THUMBInstructionPtr' does not name a type; did you mean 'THUMBInstructionTableSize'?
185 | THUMBInstructionPtr THUMBInstructions[THUMBInstructionTableSize] = {};
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:196:22: error: 'ARMInstructionPtr' does not name a type
196 | friend constexpr ARMInstructionPtr GetARMInstruction();
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:196:22: error: 'ARMInstructionPtr' does not name a type
196 | friend constexpr ARMInstructionPtr GetARMInstruction();
| ^~~~~~~~~~~~~~~~~
make[2]: *** [src/Core/PPU/CMakeFiles/PPU.dir/build.make:98: src/Core/PPU/CMakeFiles/PPU.dir/PPU.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:407: src/Core/PPU/CMakeFiles/PPU.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 23%] Building CXX object src/Core/ARM7TDMI/CMakeFiles/ARM7TDMI.dir/Tables.cpp.o
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:198:22: error: 'THUMBInstructionPtr' does not name a type; did you mean 'THUMBInstructionTableSize'?
198 | friend constexpr THUMBInstructionPtr GetTHUMBInstruction();
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:281:10: error: variable or field '__fastcall' declared void
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:281:10: error: expected ';' at end of member declaration
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:281:53: error: ISO C++ forbids declaration of 'ARMUnimplemented'with no type [-fpermissive]
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:285:10: error: variable or field '__fastcall' declared void
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:285:10: error: expected ';' at end of member declaration
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:285:55: error: ISO C++ forbids declaration of 'THUMBUnimplemented' with no type [-fpermissive]
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:289,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:12:6: error: variable or field '__fastcall' declared void
12 | void __fastcall BranchExchange(u32 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:12:6: error: expected ';' at end of member declaration
12 | void __fastcall BranchExchange(u32 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:12:47: error: ISO C++ forbids declaration of 'BranchExchange' with no type [-fpermissive]
12 | void __fastcall BranchExchange(u32 instruction) {
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:73:17: error: expected initializer before 'Branch'
73 | void __fastcall Branch(u32 instruction) {
| ^~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:290,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/PSRTransfer.inl:16:17: error: expected initializer before 'MRS'
16 | void __fastcall MRS(u32 instruction) {
| ^~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/PSRTransfer.inl:38:17: error: expected initializer before 'MSR'
38 | void __fastcall MSR(u32 instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:291,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/DataProcessing.inl:329:17: error: expected initializer before 'DataProcessing'
329 | void __fastcall DataProcessing(u32 instruction) {
| ^~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:292,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/LoadStore.inl:16:17: error: expected initializer before 'SingleDataTransfer'
16 | void __fastcall SingleDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/LoadStore.inl:109:17: error: expected initializer before 'HalfwordDataTransfer'
109 | void __fastcall HalfwordDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/LoadStore.inl:211:17: error: expected initializer before 'SWP'
211 | void __fastcall SWP(u32 instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:293,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/BlockDataTransfer.inl:16:17: error: expected initializer before 'BlockDataTransfer'
16 | void __fastcall BlockDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:294,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Multiply.inl:16:17: error: expected initializer before 'Multiply'
16 | void __fastcall Multiply(u32 instruction) {
| ^~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Multiply.inl:39:17: error: expected initializer before 'MultiplyLong'
39 | void __fastcall MultiplyLong(u32 instruction) {
| ^~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:198:22: error: 'THUMBInstructionPtr' does not name a type;did you mean 'THUMBInstructionTableSize'?
198 | friend constexpr THUMBInstructionPtr GetTHUMBInstruction();
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:296,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:35:17: error: expected initializer before 'ALUOperations'
35 | void __fastcall ALUOperations(u16 instruction) {
| ^~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:151:17: error: expected initializer before 'AddSubtract'
151 | void __fastcall AddSubtract(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:190:17: error: expected initializer before 'HiRegOps_BX'
190 | void __fastcall HiRegOps_BX(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:242:17: error: expected initializer before 'MoveShifted'
242 | void __fastcall MoveShifted(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:256:17: error: expected initializer before 'ALUImmediate'
256 | void __fastcall ALUImmediate(u16 instruction) {
| ^~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:284:17: error: expected initializer before 'LoadAddress'
284 | void __fastcall LoadAddress(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:296:17: error: expected initializer before 'AddOffsToSP'
296 | void __fastcall AddOffsToSP(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:281:10: error: variable or field '__fastcall' declared void
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:281:10: error: expected ';' at end of member declaration
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^~~~~~~~~~
| ;
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:297,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:16:17: error: expected initializer before 'ConditionalBranch'
16 | void __fastcall ConditionalBranch(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:281:53: error: ISO C++ forbids declaration of 'ARMUnimplemented' with no type [-fpermissive]
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:33:17: error: expected initializer before 'LongBranchLink'
33 | void __fastcall LongBranchLink(u16 instruction) {
| ^~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:54:6: error: variable or field '__fastcall' declared void
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:285:10: error: variable or field '__fastcall' declared void
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:54:6: error: expected ';' at end of member declaration
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:285:10: error: expected ';' at end of member declaration
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:54:52: error: ISO C++ forbids declaration of 'UnconditionalBranch' with no type [-fpermissive]
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:285:55: error: ISO C++ forbids declaration of 'THUMBUnimplemented' with no type [-fpermissive]
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:289,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Branch.inl:12:6: error: variable or field '__fastcall' declared void
12 | void __fastcall BranchExchange(u32 instruction) {
| ^~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:298,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:16:17: error: expected initializer before 'LoadStoreHalfword'
16 | void __fastcall LoadStoreHalfword(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Branch.inl:12:6: error: expected ';' at end of member declaration
12 | void __fastcall BranchExchange(u32 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Branch.inl:12:47: error: ISO C++ forbids declarationof 'BranchExchange' with no type [-fpermissive]
12 | void __fastcall BranchExchange(u32 instruction) {
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Branch.inl:73:17: error: expected initializer before'Branch'
73 | void __fastcall Branch(u32 instruction) {
| ^~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:74:17: error: expected initializer before 'LoadStoreRegOffs'
74 | void __fastcall LoadStoreRegOffs(u16 instruction) {
| ^~~~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:290,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/PSRTransfer.inl:16:17: error: expected initializer before 'MRS'
16 | void __fastcall MRS(u32 instruction) {
| ^~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:85:17: error: expected initializer before 'LoadStoreImmOffs'
85 | void __fastcall LoadStoreImmOffs(u16 instruction) {
| ^~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:102:17: error: expected initializer before'LoadStoreSEBH'
102 | void __fastcall LoadStoreSEBH(u16 instruction) {
| ^~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:150:17: error: expected initializer before'PushPop'
150 | void __fastcall PushPop(u16 instruction) {
| ^~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:201:17: error: expected initializer before'MultipleLoadStore'
201 | void __fastcall MultipleLoadStore(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/PSRTransfer.inl:38:17: error: expected initializer before 'MSR'
38 | void __fastcall MSR(u32 instruction) {
| ^~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:276:17: error: expected initializer before'PCRelativeLoad'
276 | void __fastcall PCRelativeLoad(u16 instruction) {
| ^~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:288:17: error: expected initializer before'SPRelativeLoadStore'
288 | void __fastcall SPRelativeLoadStore(u16 instruction) {
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:300,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/SWI.inl:16:17: error: expected initializer before 'SWI'
16 | void __fastcall SWI(T instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:291,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/DataProcessing.inl:329:17: error: expected initializer before 'DataProcessing'
329 | void __fastcall DataProcessing(u32 instruction) {
| ^~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:292,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/LoadStore.inl:16:17: error: expected initializer before 'SingleDataTransfer'
16 | void __fastcall SingleDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/LoadStore.inl:109:17: error: expected initializer before 'HalfwordDataTransfer'
109 | void __fastcall HalfwordDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/LoadStore.inl:211:17: error: expected initializer before 'SWP'
211 | void __fastcall SWP(u32 instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:293,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/BlockDataTransfer.inl:16:17: error: expected initializer before 'BlockDataTransfer'
16 | void __fastcall BlockDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:294,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Multiply.inl:16:17: error: expected initializer before 'Multiply'
16 | void __fastcall Multiply(u32 instruction) {
| ^~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Multiply.inl:39:17: error: expected initializer before 'MultiplyLong'
39 | void __fastcall MultiplyLong(u32 instruction) {
| ^~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:296,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/ALU.inl:35:17: error: expected initializer before 'ALUOperations'
35 | void __fastcall ALUOperations(u16 instruction) {
| ^~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/ALU.inl:151:17: error: expected initializer before'AddSubtract'
151 | void __fastcall AddSubtract(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/ALU.inl:190:17: error: expected initializer before'HiRegOps_BX'
190 | void __fastcall HiRegOps_BX(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/ALU.inl:242:17: error: expected initializer before'MoveShifted'
242 | void __fastcall MoveShifted(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/ALU.inl:256:17: error: expected initializer before'ALUImmediate'
256 | void __fastcall ALUImmediate(u16 instruction) {
| ^~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/ALU.inl:284:17: error: expected initializer before'LoadAddress'
284 | void __fastcall LoadAddress(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/ALU.inl:296:17: error: expected initializer before'AddOffsToSP'
296 | void __fastcall AddOffsToSP(u16 instruction) {
| ^~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:297,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/Branch.inl:16:17: error: expected initializer before 'ConditionalBranch'
16 | void __fastcall ConditionalBranch(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/Branch.inl:33:17: error: expected initializer before 'LongBranchLink'
33 | void __fastcall LongBranchLink(u16 instruction) {
| ^~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/Branch.inl:54:6: error: variable or field '__fastcall' declared void
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/Branch.inl:54:6: error: expected ';' at end of member declaration
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/Branch.inl:54:52: error: ISO C++ forbids declaration of 'UnconditionalBranch' with no type [-fpermissive]
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:298,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:16:17: error: expected initializer before 'LoadStoreHalfword'
16 | void __fastcall LoadStoreHalfword(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:74:17: error: expected initializer before 'LoadStoreRegOffs'
74 | void __fastcall LoadStoreRegOffs(u16 instruction) {
| ^~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:85:17: error: expected initializer before 'LoadStoreImmOffs'
85 | void __fastcall LoadStoreImmOffs(u16 instruction) {
| ^~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:102:17: error: expected initializer before 'LoadStoreSEBH'
102 | void __fastcall LoadStoreSEBH(u16 instruction) {
| ^~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:150:17: error: expected initializer before 'PushPop'
150 | void __fastcall PushPop(u16 instruction) {
| ^~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:201:17: error: expected initializer before 'MultipleLoadStore'
201 | void __fastcall MultipleLoadStore(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:276:17: error: expected initializer before 'PCRelativeLoad'
276 | void __fastcall PCRelativeLoad(u16 instruction) {
| ^~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/LoadStore.inl:288:17: error: expected initializer before 'SPRelativeLoadStore'
288 | void __fastcall SPRelativeLoadStore(u16 instruction) {
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:300,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/SWI.inl:16:17: error: expected initializer before 'SWI'
16 | void __fastcall SWI(T instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:289,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl: In member function 'int ARM7TDMI::BranchExchange(u32)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:70:1: warning: no return statement in function returning non-void [-Wreturn-type]
70 | }
| ^
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:289,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Branch.inl: In member function 'int ARM7TDMI::BranchExchange(u32)':
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/ARM/Branch.inl:70:1: warning: no return statement in function returning non-void [-Wreturn-type]
70 | }
| ^
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:297,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl: In member function 'int ARM7TDMI::UnconditionalBranch(u16)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:66:1: warning: no return statement in function returning non-void [-Wreturn-type]
66 | }
| ^
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:297,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/Branch.inl: In member function 'int ARM7TDMI::UnconditionalBranch(u16)':
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/instructions/THUMB/Branch.inl:66:1: warning: no return statement in function returning non-void [-Wreturn-type]
66 | }
| ^
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h:46:18: error: missing binary operator before token "("
46 | #if __has_builtin(__builtin_bitreverse8)
| ^
/home/solitude/git/DSHBA/include/helpers.h:59:18: error: missing binary operator before token "("
59 | #if __has_builtin(__builtin_popcount)
| ^
/home/solitude/git/DSHBA/include/helpers.h:75:18: error: missing binary operator before token "("
75 | #if __has_builtin(__builtin_clz)
| ^
/home/solitude/git/DSHBA/include/helpers.h:113:20: error: missing binary operator before token "("
113 | #if __is_identifier(__builtin_expect) || __has_builtin(__builtin_expect)
| ^
/home/solitude/git/DSHBA/include/helpers.h:121:18: error: missing binary operator before token "("
121 | #if __has_builtin(__builtin_unreachable)
| ^
/home/solitude/git/DSHBA/include/helpers.h:127:18: error: missing binary operator before token "("
127 | #if __has_builtin(__builtin_assume)
| ^
/home/solitude/git/DSHBA/include/helpers.h:133:18: error: missing binary operator before token "("
133 | #if __has_builtin(__builtin_assume_aligned)
| ^
/home/solitude/git/DSHBA/include/helpers.h:154: warning: "LITTLE_ENDIAN" redefined
154 | #define LITTLE_ENDIAN
|
In file included from /usr/include/sys/types.h:176,
from /usr/include/stdlib.h:394,
from /usr/include/c++/9.3/cstdlib:75,
from /usr/include/c++/9.3/stdlib.h:36,
from /home/solitude/git/DSHBA/include/log.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../Mem/MemoryHelpers.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:7,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/usr/include/endian.h:45: note: this is the location of the previous definition
45 | # define LITTLE_ENDIAN __LITTLE_ENDIAN
|
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h: In member function 'void ARM7TDMI::Step()':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:412:21: error: 'ARMInstructions' was not declared in this scope;did you mean 'instruction'?
412 | (this->ARMInstructions[ARMHash(instruction)])(instruction);
| ^~~~~~~~~~~~~~~
| instruction
In file included from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h: In member function 'void ARM7TDMI::Step()':
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:412:21: error: 'ARMInstructions' was not declared in this scope; did you mean 'instruction'?
412 | (this->ARMInstructions[ARMHash(instruction)])(instruction);
| ^~~~~~~~~~~~~~~
| instruction
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:421:17: error: 'THUMBInstructions' was not declared in this scope
421 | (this->THUMBInstructions[THUMBHash((u16)instruction)])((u16)instruction);
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:421:17: error: 'THUMBInstructions' was not declared in this scope
421 | (this->THUMBInstructions[THUMBHash((u16)instruction)])((u16)instruction);
| ^~~~~~~~~~~~~~~~~
make[2]: *** [src/Core/Mem/CMakeFiles/Mem.dir/build.make:82: src/Core/Mem/CMakeFiles/Mem.dir/Mem.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:353: src/Core/Mem/CMakeFiles/Mem.dir/all] Error 2
[ 26%] Building CXX object modules/imgui/CMakeFiles/imgui.dir/imgui_demo.cpp.o
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:308:43: error: missing binary operator before token "("
308 | #if defined(FAST_ADD_SUB) && __has_builtin(__builtin_addc)
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:320:48: error: missing binary operator before token "("
320 | #if 0 && defined(FAST_ADD_SUB) && __has_builtin(__builtin_sadd_overflow)
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:341:43: error: missing binary operator before token "("
341 | #if defined(FAST_ADD_SUB) && __has_builtin(__builtin_subc)
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:354:48: error: missing binary operator before token "("
354 | #if 0 && defined(FAST_ADD_SUB) && __has_builtin(__builtin_ssub_overflow)
| ^
In file included from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/../Mem/Mem.h:211,
from /home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:5:
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/../Mem/MemDMAUtil.inl: In instantiation of 'static constexpr i32 Mem::DeltaXAD(u16) [with T = unsigned int; i32 = int; u16 = short unsigned int]':
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/../Mem/MemDMA.inl:246:79: required from 'void Mem::DoDMA(s_DMAData
) [with T = unsigned int; bool intermittent_events = true; s_DMAData = s_DMAData]'
/home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:128:49: required from here
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/../Mem/MemDMAUtil.inl:16:29: warning: overflow in conversion from 'long unsigned int' to 'i32' {aka 'int'} changes value from '18446744073709551612' to '-4' [-Woverflow]
16 | return -sizeof(T);
| ^
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/../Mem/MemDMAUtil.inl: In instantiation of 'static constexpr i32 Mem::DeltaXAD(u16) [with T = short unsigned int; i32 = int; u16 = short unsigned int]':
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/../Mem/MemDMA.inl:246:79: required from 'void Mem::DoDMA(s_DMAData
) [with T = short unsigned int; bool intermittent_events = true; s_DMAData = s_DMAData]'
/home/solitude/git/DSHBA/src/Core/IO/MMIO.cpp:136:49: required from here
/home/solitude/git/DSHBA/src/Core/IO/../ARM7TDMI/../Mem/MemDMAUtil.inl:16:29: warning: overflow in conversion from 'long unsigned int' to 'i32' {aka 'int'} changes value from '18446744073709551614' to '-2' [-Woverflow]
make[2]: *** [src/Core/ARM7TDMI/CMakeFiles/ARM7TDMI.dir/build.make:82: src/Core/ARM7TDMI/CMakeFiles/ARM7TDMI.dir/ARM7TDMI.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 28%] Building CXX object modules/imgui/CMakeFiles/imgui.dir/imgui_draw.cpp.o
make[2]: *** [src/Core/IO/CMakeFiles/IO.dir/build.make:82: src/Core/IO/CMakeFiles/IO.dir/MMIO.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:461: src/Core/IO/CMakeFiles/IO.dir/all] Error 2
[ 31%] Building CXX object src/Frontend/CMakeFiles/Frontend.dir/widgets/menubar.cpp.o
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:6,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 popcount(u32)':
/home/solitude/git/DSHBA/include/helpers.h:64:12: error: '__popcnt' was not declared in this scope; did you mean '__popcntq'?
64 | return __popcnt(x);
| ^~~~~~~~
| __popcntq
/home/solitude/git/DSHBA/include/helpers.h: In function 'u32 ctlz(u32)':
/home/solitude/git/DSHBA/include/helpers.h:80:12: error: '__lzcnt' was not declared in this scope; did you mean '__lzcnt64'?
80 | return __lzcnt(x);
| ^~~~~~~
| __lzcnt64
[ 34%] Building C object src/Frontend/CMakeFiles/Frontend.dir/widgets/disassemble.c.o
[ 36%] Building CXX object modules/imgui/CMakeFiles/imgui.dir/imgui_widgets.cpp.o
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h: At global scope:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:73:8: warning: 's_scheduler' has a field 's_scheduler::queue' whose type uses the anonymous namespace [-Wsubobject-linkage]
73 | struct s_scheduler {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEvent(s_event
)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:114:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
114 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h: In member function 'void s_scheduler::AddEventAfter(s_event
, u64)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:123:19: error: 'min' was not declared in this scope; did you mean 'std::min'?
123 | top = min(top, event->time);
| ^~~
| std::min
In file included from /usr/include/c++/9.3/string:52,
from /usr/include/c++/9.3/stdexcept:39,
from /usr/include/c++/9.3/array:39,
from /usr/include/c++/9.3/tuple:39,
from /usr/include/c++/9.3/functional:54,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/../Scheduler/scheduler.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../PPU/PPU.h:4,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:8,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/usr/include/c++/9.3/bits/stl_algo.h:3450:5: note: 'std::min' declared here
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
[ 39%] Building CXX object src/Frontend/CMakeFiles/Frontend.dir/controller.cpp.o
In file included from /home/solitude/git/DSHBA/src/Frontend/controller.h:4,
from /home/solitude/git/DSHBA/src/Frontend/controller.cpp:1:
/home/solitude/git/DSHBA/src/Frontend/interface.h:20:9: error: 'size_t' does not name a type
20 | size_t src_width, src_height;
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:6:1: note: 'size_t' is defined in header ''; did you forgetto '#include '?
5 | #include <stdint.h>
+++ |+#include
6 |
/home/solitude/git/DSHBA/src/Frontend/interface.h:21:9: error: 'size_t' does not name a type
21 | size_t dest_width, dest_height;
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:21:9: note: 'size_t' is defined in header ''; did you forget to '#include '?
/home/solitude/git/DSHBA/src/Frontend/interface.h:8:52: error: 'size_t' has not been declared
8 | #define OVERLAY_INFO(name) void name(char output, size_t output_length, float delta_time)
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:44:27: note: in expansion of macro 'OVERLAY_INFO'
44 | void add_overlay_info(OVERLAY_INFO((getter)));
| ^~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:46:65: error: 'size_t' has not been declared
46 | void add_register_data(const char
name, const void value, size_t size, int tab);
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:48:5: error: 'size_t' does not name a type
48 | size_t add_menu_tab(char name);
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:48:5: note: 'size_t' is defined in header ''; did you forget to '#include '?
/home/solitude/git/DSHBA/src/Frontend/interface.h:50:5: error: 'size_t' does not name a type
50 | size_t add_submenu(int tab, const char name);
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:50:5: note: 'size_t' is defined in header ''; did you forget to '#include '?
/home/solitude/git/DSHBA/src/Frontend/interface.h:56:64: error: 'size_t' has not been declared
56 | void open_file_explorer(const char title, char filters, size_t filter_count, FILE_SELECT_CALLBACK((*callback)));
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:59:58: error: variable or field 'bind_video_render' declared void
59 | void bind_video_render(s_framebuffer (*render)(size_t));
| ^
/home/solitude/git/DSHBA/src/Frontend/interface.h:59:44: error: 'render' was not declared in this scope
59 | void bind_video_render(s_framebuffer (*render)(size_t));
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:59:52: error: 'size_t' was not declared in this scope
59 | void bind_video_render(s_framebuffer (*render)(size_t));
| ^~~~~~
/home/solitude/git/DSHBA/src/Frontend/interface.h:59:52: note: 'size_t' is defined in header ''; did you forget to '#include '?
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/APU.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/MMIO.h:9,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/Mem.h:3,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:5,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/Channels/Wave.h: In member function 'void Wave::SwitchBanks(u8)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/Channels/Wave.h:40:13: error: 'memcpy' was not declaredin this scope
40 | memcpy(Bank, WaveRAM_ptr, 16); // temp buffer new values
| ^~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/../Mem/../IO/../APU/Channels/Wave.h:8:1: note: 'memcpy' is defined in header ''; did you forget to '#include '?
7 | #include <assert.h>
+++ |+#include
8 |
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h: At global scope:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:59:14: error: typedef '__fastcall' is initialized (use decltype instead)
59 | typedef void __fastcall (ARM7TDMI::ARMInstructionPtr)(u32 instruction);
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:59:36: error: expected unqualified-id before '
' token
59 | typedef void __fastcall (ARM7TDMI::*ARMInstructionPtr)(u32 instruction);
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:59:37: error: 'ARMInstructionPtr' was not declared in this scope
59 | typedef void __fastcall (ARM7TDMI::*ARMInstructionPtr)(u32 instruction);
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:60:14: error: typedef '__fastcall' is initialized (use decltype instead)
60 | typedef void __fastcall (ARM7TDMI::THUMBInstructionPtr)(u16 instruction);
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:60:36: error: expected unqualified-id before '
' token
60 | typedef void __fastcall (ARM7TDMI::*THUMBInstructionPtr)(u16 instruction);
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:60:37: error: 'THUMBInstructionPtr' was not declared in this scope; did you mean 'THUMBInstructionTableSize'?
60 | typedef void __fastcall (ARM7TDMI::*THUMBInstructionPtr)(u16 instruction);
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:183:5: error: 'ARMInstructionPtr' does not name a type
183 | ARMInstructionPtr ARMInstructions[ARMInstructionTableSize] = {};
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:185:5: error: 'THUMBInstructionPtr' does not name a type; did you mean 'THUMBInstructionTableSize'?
185 | THUMBInstructionPtr THUMBInstructions[THUMBInstructionTableSize] = {};
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:196:22: error: 'ARMInstructionPtr' does not name a type
196 | friend constexpr ARMInstructionPtr GetARMInstruction();
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:198:22: error: 'THUMBInstructionPtr' does not name a type; did you mean 'THUMBInstructionTableSize'?
198 | friend constexpr THUMBInstructionPtr GetTHUMBInstruction();
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:281:10: error: variable or field '__fastcall' declared void
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:281:10: error: expected ';' at end of member declaration
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:281:53: error: ISO C++ forbids declaration of 'ARMUnimplemented'with no type [-fpermissive]
281 | void __fastcall ARMUnimplemented(u32 instruction) {
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:285:10: error: variable or field '__fastcall' declared void
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:285:10: error: expected ';' at end of member declaration
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:285:55: error: ISO C++ forbids declaration of 'THUMBUnimplemented' with no type [-fpermissive]
285 | void __fastcall THUMBUnimplemented(u16 instruction) {
| ^
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:289,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:12:6: error: variable or field '__fastcall' declared void
12 | void __fastcall BranchExchange(u32 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:12:6: error: expected ';' at end of member declaration
12 | void __fastcall BranchExchange(u32 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:12:47: error: ISO C++ forbids declaration of 'BranchExchange' with no type [-fpermissive]
12 | void __fastcall BranchExchange(u32 instruction) {
| ^
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:73:17: error: expected initializer before 'Branch'
73 | void __fastcall Branch(u32 instruction) {
| ^~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:290,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/PSRTransfer.inl:16:17: error: expected initializer before 'MRS'
16 | void __fastcall MRS(u32 instruction) {
| ^~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/PSRTransfer.inl:38:17: error: expected initializer before 'MSR'
38 | void __fastcall MSR(u32 instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:291,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/DataProcessing.inl:329:17: error: expected initializer before 'DataProcessing'
329 | void __fastcall DataProcessing(u32 instruction) {
| ^~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:292,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/LoadStore.inl:16:17: error: expected initializer before 'SingleDataTransfer'
16 | void __fastcall SingleDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/LoadStore.inl:109:17: error: expected initializer before 'HalfwordDataTransfer'
109 | void __fastcall HalfwordDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/LoadStore.inl:211:17: error: expected initializer before 'SWP'
211 | void __fastcall SWP(u32 instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:293,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/BlockDataTransfer.inl:16:17: error: expected initializer before 'BlockDataTransfer'
16 | void __fastcall BlockDataTransfer(u32 instruction) {
| ^~~~~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:294,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Multiply.inl:16:17: error: expected initializer before 'Multiply'
16 | void __fastcall Multiply(u32 instruction) {
| ^~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Multiply.inl:39:17: error: expected initializer before 'MultiplyLong'
39 | void __fastcall MultiplyLong(u32 instruction) {
| ^~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:296,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:35:17: error: expected initializer before 'ALUOperations'
35 | void __fastcall ALUOperations(u16 instruction) {
| ^~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:151:17: error: expected initializer before 'AddSubtract'
151 | void __fastcall AddSubtract(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:190:17: error: expected initializer before 'HiRegOps_BX'
190 | void __fastcall HiRegOps_BX(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:242:17: error: expected initializer before 'MoveShifted'
242 | void __fastcall MoveShifted(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:256:17: error: expected initializer before 'ALUImmediate'
256 | void __fastcall ALUImmediate(u16 instruction) {
| ^~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:284:17: error: expected initializer before 'LoadAddress'
284 | void __fastcall LoadAddress(u16 instruction) {
| ^~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/ALU.inl:296:17: error: expected initializer before 'AddOffsToSP'
296 | void __fastcall AddOffsToSP(u16 instruction) {
| ^~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:297,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:16:17: error: expected initializer before 'ConditionalBranch'
16 | void __fastcall ConditionalBranch(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:33:17: error: expected initializer before 'LongBranchLink'
33 | void __fastcall LongBranchLink(u16 instruction) {
| ^~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:54:6: error: variable or field '__fastcall' declared void
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:54:6: error: expected ';' at end of member declaration
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^~~~~~~~~~
| ;
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:54:52: error: ISO C++ forbids declaration of 'UnconditionalBranch' with no type [-fpermissive]
54 | void __fastcall UnconditionalBranch(u16 instruction) {
| ^
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:298,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:16:17: error: expected initializer before 'LoadStoreHalfword'
16 | void __fastcall LoadStoreHalfword(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:74:17: error: expected initializer before 'LoadStoreRegOffs'
74 | void __fastcall LoadStoreRegOffs(u16 instruction) {
| ^~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:85:17: error: expected initializer before 'LoadStoreImmOffs'
85 | void __fastcall LoadStoreImmOffs(u16 instruction) {
| ^~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:102:17: error: expected initializer before'LoadStoreSEBH'
102 | void __fastcall LoadStoreSEBH(u16 instruction) {
| ^~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:150:17: error: expected initializer before'PushPop'
150 | void __fastcall PushPop(u16 instruction) {
| ^~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:201:17: error: expected initializer before'MultipleLoadStore'
201 | void __fastcall MultipleLoadStore(u16 instruction) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:276:17: error: expected initializer before'PCRelativeLoad'
276 | void __fastcall PCRelativeLoad(u16 instruction) {
| ^~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/LoadStore.inl:288:17: error: expected initializer before'SPRelativeLoadStore'
288 | void __fastcall SPRelativeLoadStore(u16 instruction) {
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:300,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/SWI.inl:16:17: error: expected initializer before 'SWI'
16 | void __fastcall SWI(T instruction) {
| ^~~
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:289,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl: In member function 'int ARM7TDMI::BranchExchange(u32)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/ARM/Branch.inl:70:1: warning: no return statement in function returning non-void [-Wreturn-type]
70 | }
| ^
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:297,
from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl: In member function 'int ARM7TDMI::UnconditionalBranch(u16)':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/instructions/THUMB/Branch.inl:66:1: warning: no return statement in function returning non-void [-Wreturn-type]
66 | }
| ^
In file included from /home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:1:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h: In member function 'void ARM7TDMI::Step()':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:412:21: error: 'ARMInstructions' was not declared in this scope;did you mean 'instruction'?
412 | (this->ARMInstructions[ARMHash(instruction)])(instruction);
| ^~~~~~~~~~~~~~~
| instruction
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/ARM7TDMI.h:421:17: error: 'THUMBInstructions' was not declared in this scope
421 | (this->THUMBInstructions[THUMBHash((u16)instruction)])((u16)instruction);
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp: At global scope:
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:5:18: error: 'ARMInstructionPtr' does not name a type
5 | static constexpr ARMInstructionPtr GetARMInstruction() {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:119:18: error: 'THUMBInstructionPtr' does not name a type; did you mean 'THUMBInstructionTableSize'?
119 | static constexpr THUMBInstructionPtr GetTHUMBInstruction() {
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:219:18: error: 'ARMInstructionPtr' does not name a type
219 | static constexpr ARMInstructionPtr
staticBuildARMTable(ARMInstructionPtr lut[ARMInstructionTableSize]) {
| ^~~~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:228:18: error: 'THUMBInstructionPtr' does not name a type; did you mean 'THUMBInstructionTableSize'?
228 | static constexpr THUMBInstructionPtr
staticBuildTHUMBTable(THUMBInstructionPtr lut[THUMBInstructionTableSize]) {
| ^~~~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp: In member function 'void ARM7TDMI::BuildARMTable()':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:238:7: error: '::staticBuildARMTable' has not been declared; didyou mean 'BuildARMTable'?
238 | ::staticBuildARMTable(ARMInstructions);
| ^~~~~~~~~~~~~~~~~~~
| BuildARMTable
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:238:27: error: 'ARMInstructions' was not declared in this scope
238 | ::staticBuildARMTable(ARMInstructions);
| ^~~~~~~~~~~~~~~
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp: In member function 'void ARM7TDMI::BuildTHUMBTable()':
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:242:7: error: '::staticBuildTHUMBTable' has not been declared; did you mean 'BuildTHUMBTable'?
242 | ::staticBuildTHUMBTable(THUMBInstructions);
| ^~~~~~~~~~~~~~~~~~~~~
| BuildTHUMBTable
/home/solitude/git/DSHBA/src/Core/ARM7TDMI/Tables.cpp:242:29: error: 'THUMBInstructions' was not declared in this scope; did you mean 'THUMBInstructionTableSize'?
242 | ::staticBuildTHUMBTable(THUMBInstructions);
| ^~~~~~~~~~~~~~~~~
| THUMBInstructionTableSize
make[2]: *** [src/Core/ARM7TDMI/CMakeFiles/ARM7TDMI.dir/build.make:95: src/Core/ARM7TDMI/CMakeFiles/ARM7TDMI.dir/Tables.cpp.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.