Created
November 16, 2019 23:38
-
-
Save MadEmperorYuri/10073b0dba732cacd3dd149a8d329714 to your computer and use it in GitHub Desktop.
make output from attempting to compile Basilisk II
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -I./../include -I./. -I. -I./../CrossPlatform -I./../uae_cpu -I./../slirp -DHAVE_CONFIG_H -DOS_linux -DUNALIGNED_PROFITABLE -DX86_64_ASSEMBLY -DOPTIMIZED_FLAGS -DFPU_IEEE -D_REENTRANT -DDATADIR=\"/usr/local/share/BasiliskII\" -g -O2 -I../../../cxmon/src -I../../../cxmon/src/disass -fno-merge-constants -fno-gcse-sm -c ./../main.cpp -o obj/main.o | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:140:2: error: #error "No 2 byte type, you lose." | |
140 | #error "No 2 byte type, you lose." | |
| ^~~~~ | |
././sysdeps.h:149:2: error: #error "No 4 byte type, you lose." | |
149 | #error "No 4 byte type, you lose." | |
| ^~~~~ | |
././sysdeps.h:168:2: error: #error "No 8 byte type, you lose." | |
168 | #error "No 8 byte type, you lose." | |
| ^~~~~ | |
././sysdeps.h:177:2: error: #error "Unsupported size of pointer" | |
177 | #error "Unsupported size of pointer" | |
| ^~~~~ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:213:9: note: in expansion of macro ‘uae_u32’ | |
213 | typedef uae_u32 uaecptr; | |
| ^~~~~~~ | |
././sysdeps.h:221:8: error: ‘uint64’ does not name a type; did you mean ‘uint8’? | |
221 | extern uint64 GetTicks_usec(void); | |
| ^~~~~~ | |
| uint8 | |
././sysdeps.h:222:24: error: variable or field ‘Delay_usec’ declared void | |
222 | extern void Delay_usec(uint32 usec); | |
| ^~~~~~ | |
././sysdeps.h:222:24: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
222 | extern void Delay_usec(uint32 usec); | |
| ^~~~~~ | |
| uint8 | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:427:15: note: in expansion of macro ‘uae_u32’ | |
427 | static inline uae_u32 do_get_mem_long(uae_u32 *a) {uint32 retval; __asm__ ("bswap %0" : "=r" (retval) : "0" (*a) : "cc"); return retval;} | |
| ^~~~~~~ | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:428:15: note: in expansion of macro ‘uae_u32’ | |
428 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); return retval;} | |
| ^~~~~~~ | |
././sysdeps.h:210:17: error: variable or field ‘do_put_mem_long’ declared void | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:431:36: note: in expansion of macro ‘uae_u32’ | |
431 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;} | |
| ^~~~~~~ | |
././sysdeps.h:210:17: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:431:36: note: in expansion of macro ‘uae_u32’ | |
431 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;} | |
| ^~~~~~~ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:431:45: error: ‘a’ was not declared in this scope | |
431 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;} | |
| ^ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:431:48: note: in expansion of macro ‘uae_u32’ | |
431 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;} | |
| ^~~~~~~ | |
././sysdeps.h:208:17: error: variable or field ‘do_put_mem_word’ declared void | |
208 | #define uae_u16 uint16 | |
| ^~~~~~ | |
././sysdeps.h:432:36: note: in expansion of macro ‘uae_u16’ | |
432 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;} | |
| ^~~~~~~ | |
././sysdeps.h:208:17: error: ‘uint16’ was not declared in this scope; did you mean ‘uint8’? | |
208 | #define uae_u16 uint16 | |
| ^~~~~~ | |
././sysdeps.h:432:36: note: in expansion of macro ‘uae_u16’ | |
432 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;} | |
| ^~~~~~~ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:432:45: error: ‘a’ was not declared in this scope | |
432 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;} | |
| ^ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:432:48: note: in expansion of macro ‘uae_u32’ | |
432 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;} | |
| ^~~~~~~ | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:435:15: note: in expansion of macro ‘uae_u32’ | |
435 | static inline uae_u32 do_byteswap_32(uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v)); return v;} | |
| ^~~~~~~ | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
././sysdeps.h:437:15: note: in expansion of macro ‘uae_u32’ | |
437 | static inline uae_u32 do_byteswap_16(uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); return v;} | |
| ^~~~~~~ | |
In file included from ./../main.cpp:23: | |
./../uae_cpu/cpu_emulation.h:32:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
32 | extern uint32 RAMBaseMac; // RAM base (Mac address space), does not include Low Mem when != 0 | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:34:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
34 | extern uint32 RAMSize; // Size of RAM | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:36:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
36 | extern uint32 ROMBaseMac; // ROM base (Mac address space) | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:38:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
38 | extern uint32 ROMSize; // Size of ROM | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:44:7: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
44 | const uint32 MacFrameBaseMac = 0xa0000000; | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:46:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
46 | extern uint32 MacFrameSize; // Size of frame buffer | |
| ^~~~~~ | |
| uint8 | |
In file included from ./../uae_cpu/cpu_emulation.h:60, | |
from ./../main.cpp:23: | |
./../uae_cpu/memory.h:37:17: error: ISO C++ forbids declaration of ‘uint32’ with no type [-fpermissive] | |
37 | typedef uae_u32 (REGPARAM2 *mem_get_func)(uaecptr) REGPARAM; | |
| ^ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: typedef ‘uint32’ is initialized (use decltype instead) | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:37:9: note: in expansion of macro ‘uae_u32’ | |
37 | typedef uae_u32 (REGPARAM2 *mem_get_func)(uaecptr) REGPARAM; | |
| ^~~~~~~ | |
In file included from ./../uae_cpu/cpu_emulation.h:60, | |
from ./../main.cpp:23: | |
./../uae_cpu/memory.h:37:29: error: ‘mem_get_func’ was not declared in this scope; did you mean ‘call_mem_get_func’? | |
37 | typedef uae_u32 (REGPARAM2 *mem_get_func)(uaecptr) REGPARAM; | |
| ^~~~~~~~~~~~ | |
| call_mem_get_func | |
./../uae_cpu/memory.h:38:26: error: typedef ‘mem_put_func’ is initialized (use decltype instead) | |
38 | typedef void (REGPARAM2 *mem_put_func)(uaecptr, uae_u32) REGPARAM; | |
| ^~~~~~~~~~~~ | |
./../uae_cpu/memory.h:38:40: error: ‘uaecptr’ was not declared in this scope | |
38 | typedef void (REGPARAM2 *mem_put_func)(uaecptr, uae_u32) REGPARAM; | |
| ^~~~~~~ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:38:49: note: in expansion of macro ‘uae_u32’ | |
38 | typedef void (REGPARAM2 *mem_put_func)(uaecptr, uae_u32) REGPARAM; | |
| ^~~~~~~ | |
In file included from ./../uae_cpu/cpu_emulation.h:60, | |
from ./../main.cpp:23: | |
./../uae_cpu/memory.h:39:29: error: typedef ‘xlate_func’ is initialized (use decltype instead) | |
39 | typedef uae_u8 *(REGPARAM2 *xlate_func)(uaecptr) REGPARAM; | |
| ^~~~~~~~~~ | |
./../uae_cpu/memory.h:39:41: error: ‘uaecptr’ was not declared in this scope | |
39 | typedef uae_u8 *(REGPARAM2 *xlate_func)(uaecptr) REGPARAM; | |
| ^~~~~~~ | |
./../uae_cpu/memory.h:53:5: error: ‘mem_get_func’ does not name a type; did you mean ‘call_mem_get_func’? | |
53 | mem_get_func lget, wget, bget; | |
| ^~~~~~~~~~~~ | |
| call_mem_get_func | |
./../uae_cpu/memory.h:54:5: error: ‘mem_put_func’ does not name a type; did you mean ‘call_mem_put_func’? | |
54 | mem_put_func lput, wput, bput; | |
| ^~~~~~~~~~~~ | |
| call_mem_put_func | |
./../uae_cpu/memory.h:59:5: error: ‘xlate_func’ does not name a type | |
59 | xlate_func xlateaddr; | |
| ^~~~~~~~~~ | |
./../uae_cpu/memory.h:70:26: warning: ‘default_xlate’ initialized and declared ‘extern’ | |
70 | extern uae_u8 *REGPARAM2 default_xlate(uaecptr addr) REGPARAM; | |
| ^~~~~~~~~~~~~ | |
./../uae_cpu/memory.h:70:40: error: ‘uaecptr’ was not declared in this scope | |
70 | extern uae_u8 *REGPARAM2 default_xlate(uaecptr addr) REGPARAM; | |
| ^~~~~~~ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:174:19: note: in expansion of macro ‘uae_u32’ | |
174 | static __inline__ uae_u32 get_long(uaecptr addr) | |
| ^~~~~~~ | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:178:19: note: in expansion of macro ‘uae_u32’ | |
178 | static __inline__ uae_u32 get_word(uaecptr addr) | |
| ^~~~~~~ | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:182:19: note: in expansion of macro ‘uae_u32’ | |
182 | static __inline__ uae_u32 get_byte(uaecptr addr) | |
| ^~~~~~~ | |
In file included from ./../uae_cpu/cpu_emulation.h:60, | |
from ./../main.cpp:23: | |
./../uae_cpu/memory.h:186:33: error: variable or field ‘put_long’ declared void | |
186 | static __inline__ void put_long(uaecptr addr, uae_u32 l) | |
| ^~~~~~~ | |
./../uae_cpu/memory.h:186:33: error: ‘uaecptr’ was not declared in this scope | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:186:47: note: in expansion of macro ‘uae_u32’ | |
186 | static __inline__ void put_long(uaecptr addr, uae_u32 l) | |
| ^~~~~~~ | |
In file included from ./../uae_cpu/cpu_emulation.h:60, | |
from ./../main.cpp:23: | |
./../uae_cpu/memory.h:190:33: error: variable or field ‘put_word’ declared void | |
190 | static __inline__ void put_word(uaecptr addr, uae_u32 w) | |
| ^~~~~~~ | |
./../uae_cpu/memory.h:190:33: error: ‘uaecptr’ was not declared in this scope | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:190:47: note: in expansion of macro ‘uae_u32’ | |
190 | static __inline__ void put_word(uaecptr addr, uae_u32 w) | |
| ^~~~~~~ | |
In file included from ./../uae_cpu/cpu_emulation.h:60, | |
from ./../main.cpp:23: | |
./../uae_cpu/memory.h:194:33: error: variable or field ‘put_byte’ declared void | |
194 | static __inline__ void put_byte(uaecptr addr, uae_u32 b) | |
| ^~~~~~~ | |
./../uae_cpu/memory.h:194:33: error: ‘uaecptr’ was not declared in this scope | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:194:47: note: in expansion of macro ‘uae_u32’ | |
194 | static __inline__ void put_byte(uaecptr addr, uae_u32 b) | |
| ^~~~~~~ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:474:20: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ | |
474 | #define __inline__ inline | |
| ^~~~~~ | |
./../uae_cpu/memory.h:198:8: note: in expansion of macro ‘__inline__’ | |
198 | static __inline__ uae_u8 *get_real_address(uaecptr addr) | |
| ^~~~~~~~~~ | |
In file included from ./../uae_cpu/cpu_emulation.h:60, | |
from ./../main.cpp:23: | |
./../uae_cpu/memory.h:198:44: error: ‘uaecptr’ was not declared in this scope | |
198 | static __inline__ uae_u8 *get_real_address(uaecptr addr) | |
| ^~~~~~~ | |
In file included from ./../main.cpp:21: | |
././sysdeps.h:210:17: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
210 | #define uae_u32 uint32 | |
| ^~~~~~ | |
./../uae_cpu/memory.h:203:8: note: in expansion of macro ‘uae_u32’ | |
203 | extern uae_u32 get_virtual_address(uae_u8 *addr); | |
| ^~~~~~~ | |
In file included from ./../main.cpp:23: | |
./../uae_cpu/cpu_emulation.h:61:15: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
61 | static inline uint32 ReadMacInt32(uint32 addr) {return get_long(addr);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:62:15: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
62 | static inline uint32 ReadMacInt16(uint32 addr) {return get_word(addr);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:63:15: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
63 | static inline uint32 ReadMacInt8(uint32 addr) {return get_byte(addr);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:64:34: error: variable or field ‘WriteMacInt32’ declared void | |
64 | static inline void WriteMacInt32(uint32 addr, uint32 l) {put_long(addr, l);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:64:34: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
64 | static inline void WriteMacInt32(uint32 addr, uint32 l) {put_long(addr, l);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:64:47: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
64 | static inline void WriteMacInt32(uint32 addr, uint32 l) {put_long(addr, l);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:65:34: error: variable or field ‘WriteMacInt16’ declared void | |
65 | static inline void WriteMacInt16(uint32 addr, uint32 w) {put_word(addr, w);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:65:34: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
65 | static inline void WriteMacInt16(uint32 addr, uint32 w) {put_word(addr, w);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:65:47: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
65 | static inline void WriteMacInt16(uint32 addr, uint32 w) {put_word(addr, w);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:66:33: error: variable or field ‘WriteMacInt8’ declared void | |
66 | static inline void WriteMacInt8(uint32 addr, uint32 b) {put_byte(addr, b);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:66:33: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
66 | static inline void WriteMacInt8(uint32 addr, uint32 b) {put_byte(addr, b);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:66:46: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
66 | static inline void WriteMacInt8(uint32 addr, uint32 b) {put_byte(addr, b);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:67:8: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ | |
67 | static inline uint8 *Mac2HostAddr(uint32 addr) {return get_real_address(addr);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:67:35: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
67 | static inline uint8 *Mac2HostAddr(uint32 addr) {return get_real_address(addr);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:68:15: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
68 | static inline uint32 Host2MacAddr(uint8 *addr) {return get_virtual_address(addr);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:70:8: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ | |
70 | static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:70:32: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
70 | static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:70:45: error: expected primary-expression before ‘int’ | |
70 | static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);} | |
| ^~~ | |
./../uae_cpu/cpu_emulation.h:70:59: error: expected primary-expression before ‘n’ | |
70 | static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);} | |
| ^ | |
./../uae_cpu/cpu_emulation.h:70:60: error: expression list treated as compound expression in initializer [-fpermissive] | |
70 | static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);} | |
| ^ | |
./../uae_cpu/cpu_emulation.h:71:49: error: ‘uint32’ has not been declared | |
71 | static inline void *Mac2Host_memcpy(void *dest, uint32 src, size_t n) {return memcpy(dest, Mac2HostAddr(src), n);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h: In function ‘void* Mac2Host_memcpy(void*, int, size_t)’: | |
./../uae_cpu/cpu_emulation.h:71:108: error: ‘Mac2HostAddr’ cannot be used as a function | |
71 | static inline void *Mac2Host_memcpy(void *dest, uint32 src, size_t n) {return memcpy(dest, Mac2HostAddr(src), n);} | |
| ^ | |
./../uae_cpu/cpu_emulation.h: At global scope: | |
./../uae_cpu/cpu_emulation.h:72:8: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ | |
72 | static inline void *Host2Mac_memcpy(uint32 dest, const void *src, size_t n) {return memcpy(Mac2HostAddr(dest), src, n);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:72:37: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
72 | static inline void *Host2Mac_memcpy(uint32 dest, const void *src, size_t n) {return memcpy(Mac2HostAddr(dest), src, n);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:72:50: error: expected primary-expression before ‘const’ | |
72 | static inline void *Host2Mac_memcpy(uint32 dest, const void *src, size_t n) {return memcpy(Mac2HostAddr(dest), src, n);} | |
| ^~~~~ | |
./../uae_cpu/cpu_emulation.h:72:74: error: expected primary-expression before ‘n’ | |
72 | static inline void *Host2Mac_memcpy(uint32 dest, const void *src, size_t n) {return memcpy(Mac2HostAddr(dest), src, n);} | |
| ^ | |
./../uae_cpu/cpu_emulation.h:72:75: error: expression list treated as compound expression in initializer [-fpermissive] | |
72 | static inline void *Host2Mac_memcpy(uint32 dest, const void *src, size_t n) {return memcpy(Mac2HostAddr(dest), src, n);} | |
| ^ | |
./../uae_cpu/cpu_emulation.h:73:8: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ | |
73 | static inline void *Mac2Mac_memcpy(uint32 dest, uint32 src, size_t n) {return memcpy(Mac2HostAddr(dest), Mac2HostAddr(src), n);} | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:73:36: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
73 | static inline void *Mac2Mac_memcpy(uint32 dest, uint32 src, size_t n) {return memcpy(Mac2HostAddr(dest), Mac2HostAddr(src), n);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:73:49: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
73 | static inline void *Mac2Mac_memcpy(uint32 dest, uint32 src, size_t n) {return memcpy(Mac2HostAddr(dest), Mac2HostAddr(src), n);} | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:73:68: error: expected primary-expression before ‘n’ | |
73 | static inline void *Mac2Mac_memcpy(uint32 dest, uint32 src, size_t n) {return memcpy(Mac2HostAddr(dest), Mac2HostAddr(src), n);} | |
| ^ | |
./../uae_cpu/cpu_emulation.h:73:69: error: expression list treated as compound expression in initializer [-fpermissive] | |
73 | static inline void *Mac2Mac_memcpy(uint32 dest, uint32 src, size_t n) {return memcpy(Mac2HostAddr(dest), Mac2HostAddr(src), n);} | |
| ^ | |
In file included from ./../main.cpp:23: | |
./../uae_cpu/cpu_emulation.h:95:28: error: variable or field ‘Execute68k’ declared void | |
95 | extern "C" void Execute68k(uint32 addr, M68kRegisters *r); // Execute 68k code from EMUL_OP routine | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:95:28: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
95 | extern "C" void Execute68k(uint32 addr, M68kRegisters *r); // Execute 68k code from EMUL_OP routine | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:95:55: error: expected primary-expression before ‘*’ token | |
95 | extern "C" void Execute68k(uint32 addr, M68kRegisters *r); // Execute 68k code from EMUL_OP routine | |
| ^ | |
./../uae_cpu/cpu_emulation.h:95:56: error: ‘r’ was not declared in this scope | |
95 | extern "C" void Execute68k(uint32 addr, M68kRegisters *r); // Execute 68k code from EMUL_OP routine | |
| ^ | |
./../uae_cpu/cpu_emulation.h:96:32: error: variable or field ‘Execute68kTrap’ declared void | |
96 | extern "C" void Execute68kTrap(uint16 trap, M68kRegisters *r); // Execute MacOS 68k trap from EMUL_OP routine | |
| ^~~~~~ | |
./../uae_cpu/cpu_emulation.h:96:32: error: ‘uint16’ was not declared in this scope; did you mean ‘uint8’? | |
96 | extern "C" void Execute68kTrap(uint16 trap, M68kRegisters *r); // Execute MacOS 68k trap from EMUL_OP routine | |
| ^~~~~~ | |
| uint8 | |
./../uae_cpu/cpu_emulation.h:96:59: error: expected primary-expression before ‘*’ token | |
96 | extern "C" void Execute68kTrap(uint16 trap, M68kRegisters *r); // Execute MacOS 68k trap from EMUL_OP routine | |
| ^ | |
./../uae_cpu/cpu_emulation.h:96:60: error: ‘r’ was not declared in this scope | |
96 | extern "C" void Execute68kTrap(uint16 trap, M68kRegisters *r); // Execute MacOS 68k trap from EMUL_OP routine | |
| ^ | |
In file included from ./../main.cpp:25: | |
./../include/timer.h:30:8: error: ‘int16’ does not name a type | |
30 | extern int16 InsTime(uint32 tm, uint16 trap); | |
| ^~~~~ | |
./../include/timer.h:31:8: error: ‘int16’ does not name a type | |
31 | extern int16 RmvTime(uint32 tm); | |
| ^~~~~ | |
./../include/timer.h:32:8: error: ‘int16’ does not name a type | |
32 | extern int16 PrimeTime(uint32 tm, int32 time); | |
| ^~~~~ | |
./../include/timer.h:33:26: error: variable or field ‘Microseconds’ declared void | |
33 | extern void Microseconds(uint32 &hi, uint32 &lo); | |
| ^~~~~~ | |
./../include/timer.h:33:26: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
33 | extern void Microseconds(uint32 &hi, uint32 &lo); | |
| ^~~~~~ | |
| uint8 | |
./../include/timer.h:33:34: error: ‘hi’ was not declared in this scope | |
33 | extern void Microseconds(uint32 &hi, uint32 &lo); | |
| ^~ | |
./../include/timer.h:33:38: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
33 | extern void Microseconds(uint32 &hi, uint32 &lo); | |
| ^~~~~~ | |
| uint8 | |
./../include/timer.h:33:46: error: ‘lo’ was not declared in this scope | |
33 | extern void Microseconds(uint32 &hi, uint32 &lo); | |
| ^~ | |
./../include/timer.h:35:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
35 | extern uint32 TimerDateTime(void); | |
| ^~~~~~ | |
| uint8 | |
./../include/timer.h:42:49: error: ‘int32’ has not been declared | |
42 | extern void timer_mac2host_time(tm_time_t &res, int32 mactime); | |
| ^~~~~ | |
./../include/timer.h:43:8: error: ‘int32’ does not name a type | |
43 | extern int32 timer_host2mac_time(tm_time_t hosttime); | |
| ^~~~~ | |
In file included from ./../main.cpp:26: | |
./../include/sony.h:25:7: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
25 | const uint16 SonyDriverFlags = 0x6f00; // Driver flags | |
| ^~~~~~ | |
| uint8 | |
./../include/sony.h:30:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
30 | extern uint32 SonyDiskIconAddr; // Icon addresses (Mac address space, set by PatchROM()) | |
| ^~~~~~ | |
| uint8 | |
./../include/sony.h:31:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
31 | extern uint32 SonyDriveIconAddr; | |
| ^~~~~~ | |
| uint8 | |
./../include/sony.h:40:8: error: ‘int16’ does not name a type | |
40 | extern int16 SonyOpen(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/sony.h:41:8: error: ‘int16’ does not name a type | |
41 | extern int16 SonyPrime(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/sony.h:42:8: error: ‘int16’ does not name a type | |
42 | extern int16 SonyControl(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/sony.h:43:8: error: ‘int16’ does not name a type | |
43 | extern int16 SonyStatus(uint32 pb, uint32 dce); | |
| ^~~~~ | |
In file included from ./../main.cpp:27: | |
./../include/disk.h:25:7: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
25 | const uint16 DiskDriverFlags = 0x6f04; // Driver flags | |
| ^~~~~~ | |
| uint8 | |
./../include/disk.h:29:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
29 | extern uint32 DiskIconAddr; // Icon address (Mac address space, set by PatchROM()) | |
| ^~~~~~ | |
| uint8 | |
./../include/disk.h:38:8: error: ‘int16’ does not name a type | |
38 | extern int16 DiskOpen(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/disk.h:39:8: error: ‘int16’ does not name a type | |
39 | extern int16 DiskPrime(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/disk.h:40:8: error: ‘int16’ does not name a type | |
40 | extern int16 DiskControl(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/disk.h:41:8: error: ‘int16’ does not name a type | |
41 | extern int16 DiskStatus(uint32 pb, uint32 dce); | |
| ^~~~~ | |
In file included from ./../main.cpp:28: | |
./../include/cdrom.h:25:7: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
25 | const uint16 CDROMDriverFlags = 0x6d04; // Driver flags | |
| ^~~~~~ | |
| uint8 | |
./../include/cdrom.h:29:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
29 | extern uint32 CDROMIconAddr; // Icon address (Mac address space, set by PatchROM()) | |
| ^~~~~~ | |
| uint8 | |
./../include/cdrom.h:38:8: error: ‘int16’ does not name a type | |
38 | extern int16 CDROMOpen(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/cdrom.h:39:8: error: ‘int16’ does not name a type | |
39 | extern int16 CDROMPrime(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/cdrom.h:40:8: error: ‘int16’ does not name a type | |
40 | extern int16 CDROMControl(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/cdrom.h:41:8: error: ‘int16’ does not name a type | |
41 | extern int16 CDROMStatus(uint32 pb, uint32 dce); | |
| ^~~~~ | |
In file included from ./../main.cpp:29: | |
./../include/scsi.h:24:8: error: ‘int16’ does not name a type | |
24 | extern int16 SCSIReset(void); | |
| ^~~~~ | |
./../include/scsi.h:25:8: error: ‘int16’ does not name a type | |
25 | extern int16 SCSIGet(void); | |
| ^~~~~ | |
./../include/scsi.h:26:8: error: ‘int16’ does not name a type | |
26 | extern int16 SCSISelect(int id); | |
| ^~~~~ | |
./../include/scsi.h:27:8: error: ‘int16’ does not name a type | |
27 | extern int16 SCSICmd(int cmd_length, uint8 *cmd); | |
| ^~~~~ | |
./../include/scsi.h:28:8: error: ‘int16’ does not name a type | |
28 | extern int16 SCSIRead(uint32 tib); | |
| ^~~~~ | |
./../include/scsi.h:29:8: error: ‘int16’ does not name a type | |
29 | extern int16 SCSIWrite(uint32 tib); | |
| ^~~~~ | |
./../include/scsi.h:30:8: error: ‘int16’ does not name a type | |
30 | extern int16 SCSIComplete(uint32 timeout, uint32 message, uint32 stat); | |
| ^~~~~ | |
./../include/scsi.h:31:8: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
31 | extern uint16 SCSIStat(void); | |
| ^~~~~~ | |
| uint8 | |
./../include/scsi.h:32:8: error: ‘int16’ does not name a type | |
32 | extern int16 SCSIMgrBusy(void); | |
| ^~~~~ | |
./../include/scsi.h:41:91: error: ‘uint32’ has not been declared | |
41 | extern bool scsi_send_cmd(size_t data_length, bool reading, int sg_index, uint8 **sg_ptr, uint32 *sg_len, uint16 *stat, uint32 timeout); | |
| ^~~~~~ | |
./../include/scsi.h:41:107: error: ‘uint16’ has not been declared | |
41 | extern bool scsi_send_cmd(size_t data_length, bool reading, int sg_index, uint8 **sg_ptr, uint32 *sg_len, uint16 *stat, uint32 timeout); | |
| ^~~~~~ | |
./../include/scsi.h:41:121: error: ‘uint32’ has not been declared | |
41 | extern bool scsi_send_cmd(size_t data_length, bool reading, int sg_index, uint8 **sg_ptr, uint32 *sg_len, uint16 *stat, uint32 timeout); | |
| ^~~~~~ | |
In file included from ./../main.cpp:30: | |
./../include/extfs.h:29:8: error: ‘int16’ does not name a type | |
29 | extern int16 ExtFSComm(uint16 message, uint32 paramBlock, uint32 globalsPtr); | |
| ^~~~~ | |
./../include/extfs.h:30:8: error: ‘int16’ does not name a type | |
30 | extern int16 ExtFSHFS(uint32 vcb, uint16 selectCode, uint32 paramBlock, uint32 globalsPtr, int16 fsid); | |
| ^~~~~ | |
./../include/extfs.h:36:41: error: ‘uint32’ has not been declared | |
36 | extern void get_finfo(const char *path, uint32 finfo, uint32 fxinfo, bool is_dir); | |
| ^~~~~~ | |
./../include/extfs.h:36:55: error: ‘uint32’ has not been declared | |
36 | extern void get_finfo(const char *path, uint32 finfo, uint32 fxinfo, bool is_dir); | |
| ^~~~~~ | |
./../include/extfs.h:37:41: error: ‘uint32’ has not been declared | |
37 | extern void set_finfo(const char *path, uint32 finfo, uint32 fxinfo, bool is_dir); | |
| ^~~~~~ | |
./../include/extfs.h:37:55: error: ‘uint32’ has not been declared | |
37 | extern void set_finfo(const char *path, uint32 finfo, uint32 fxinfo, bool is_dir); | |
| ^~~~~~ | |
./../include/extfs.h:38:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
38 | extern uint32 get_rfork_size(const char *path); | |
| ^~~~~~ | |
| uint8 | |
In file included from ./../main.cpp:31: | |
./../include/audio.h:30:8: error: ‘int32’ does not name a type | |
30 | extern int32 AudioDispatch(uint32 params, uint32 ti); | |
| ^~~~~ | |
./../include/audio.h:34:8: error: ‘int16’ does not name a type | |
34 | extern int16 SoundInOpen(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/audio.h:35:8: error: ‘int16’ does not name a type | |
35 | extern int16 SoundInPrime(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/audio.h:36:8: error: ‘int16’ does not name a type | |
36 | extern int16 SoundInControl(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/audio.h:37:8: error: ‘int16’ does not name a type | |
37 | extern int16 SoundInStatus(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/audio.h:38:8: error: ‘int16’ does not name a type | |
38 | extern int16 SoundInClose(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/audio.h:55:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
55 | extern uint32 audio_get_main_volume(void); | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:57:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
57 | extern uint32 audio_get_speaker_volume(void); | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:59:35: error: variable or field ‘audio_set_main_volume’ declared void | |
59 | extern void audio_set_main_volume(uint32 vol); | |
| ^~~~~~ | |
./../include/audio.h:59:35: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
59 | extern void audio_set_main_volume(uint32 vol); | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:61:38: error: variable or field ‘audio_set_speaker_volume’ declared void | |
61 | extern void audio_set_speaker_volume(uint32 vol); | |
| ^~~~~~ | |
./../include/audio.h:61:38: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
61 | extern void audio_set_speaker_volume(uint32 vol); | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:65:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
65 | uint32 sample_rate; // 16.16 fixed point | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:66:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
66 | uint32 sample_size; // 8 or 16 | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:67:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
67 | uint32 channels; // 1 (mono) or 2 (stereo) | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:68:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
68 | uint32 mixer; // Mac address of Apple Mixer | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:75:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
75 | extern uint32 audio_component_flags; // Component feature flags | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:77:15: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
77 | extern vector<uint32> audio_sample_rates; // Vector of supported sample rates (16.16 fixed point) | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:77:21: error: template argument 1 is invalid | |
77 | extern vector<uint32> audio_sample_rates; // Vector of supported sample rates (16.16 fixed point) | |
| ^ | |
./../include/audio.h:77:21: error: template argument 2 is invalid | |
./../include/audio.h:78:15: error: ‘uint16’ was not declared in this scope; did you mean ‘uint8’? | |
78 | extern vector<uint16> audio_sample_sizes; // Vector of supported sample sizes | |
| ^~~~~~ | |
| uint8 | |
./../include/audio.h:78:21: error: template argument 1 is invalid | |
78 | extern vector<uint16> audio_sample_sizes; // Vector of supported sample sizes | |
| ^ | |
./../include/audio.h:78:21: error: template argument 2 is invalid | |
./../include/audio.h:97:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
97 | extern uint32 audio_data; // Mac address of global data area | |
| ^~~~~~ | |
| uint8 | |
In file included from ./../main.cpp:32: | |
./../include/video.h:80:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
80 | inline uint32 TrivialBytesPerRow(uint32 width, video_depth depth) | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:124:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
124 | uint32 x; // X size of screen (pixels) | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:125:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
125 | uint32 y; // Y size of screen (pixels) | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:126:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
126 | uint32 resolution_id; // Resolution ID (should be >= 0x80 and uniquely identify the sets of modes with the same X/Y size) | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:128:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
128 | uint32 bytes_per_row; // Bytes per row of frame buffer | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:129:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
129 | uint32 user_data; // Free for use by platform-specific code | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:146:85: error: ‘uint32’ has not been declared | |
146 | monitor_desc(const vector<video_mode> &available_modes, video_depth default_depth, uint32 default_id); | |
| ^~~~~~ | |
./../include/video.h:153:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
153 | uint32 get_mac_frame_base(void) const {return mac_frame_base;} | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:156:26: error: ‘uint32’ has not been declared | |
156 | void set_mac_frame_base(uint32 base) {mac_frame_base = base;} | |
| ^~~~~~ | |
./../include/video.h:162:2: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
162 | uint16 depth_to_apple_mode(video_depth depth) const {return apple_mode_for_depth[depth];} | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:165:2: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
165 | uint16 get_apple_mode(void) const {return depth_to_apple_mode(current_mode->depth);} | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:169:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
169 | uint32 get_bytes_per_row(video_depth depth, uint32 id) const; | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:175:2: error: ‘int16’ does not name a type | |
175 | int16 driver_open(void); | |
| ^~~~~ | |
./../include/video.h:176:2: error: ‘int16’ does not name a type | |
176 | int16 driver_control(uint16 code, uint32 param, uint32 dce); | |
| ^~~~~ | |
./../include/video.h:177:2: error: ‘int16’ does not name a type | |
177 | int16 driver_status(uint16 code, uint32 param); | |
| ^~~~~ | |
./../include/video.h:183:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
183 | uint32 mac_frame_base; // Mac frame buffer address for current mode | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:188:22: error: ‘uint32’ has not been declared | |
188 | bool has_resolution(uint32 id) const; | |
| ^~~~~~ | |
./../include/video.h:194:47: error: ‘uint16’ has not been declared | |
194 | vector<video_mode>::const_iterator find_mode(uint16 apple_mode, uint32 id) const; | |
| ^~~~~~ | |
./../include/video.h:194:66: error: ‘uint32’ has not been declared | |
194 | vector<video_mode>::const_iterator find_mode(uint16 apple_mode, uint32 id) const; | |
| ^~~~~~ | |
./../include/video.h:197:38: error: ‘uint32’ has not been declared | |
197 | video_depth max_depth_of_resolution(uint32 id) const; | |
| ^~~~~~ | |
./../include/video.h:200:30: error: ‘uint32’ has not been declared | |
200 | void get_size_of_resolution(uint32 id, uint32 &x, uint32 &y) const; | |
| ^~~~~~ | |
./../include/video.h:200:41: error: ‘uint32’ has not been declared | |
200 | void get_size_of_resolution(uint32 id, uint32 &x, uint32 &y) const; | |
| ^~~~~~ | |
./../include/video.h:200:52: error: ‘uint32’ has not been declared | |
200 | void get_size_of_resolution(uint32 id, uint32 &x, uint32 &y) const; | |
| ^~~~~~ | |
./../include/video.h:212:2: error: ‘int16’ does not name a type | |
212 | int16 set_gamma_table(uint32 user_table); | |
| ^~~~~ | |
./../include/video.h:215:58: error: ‘uint32’ has not been declared | |
215 | void switch_mode(vector<video_mode>::const_iterator it, uint32 param, uint32 dce); | |
| ^~~~~~ | |
./../include/video.h:215:72: error: ‘uint32’ has not been declared | |
215 | void switch_mode(vector<video_mode>::const_iterator it, uint32 param, uint32 dce); | |
| ^~~~~~ | |
./../include/video.h:226:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
226 | uint32 gamma_table; // Mac address of gamma table | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:229:2: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
229 | uint16 current_apple_mode; // Currently selected depth/resolution | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:230:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
230 | uint32 current_id; | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:231:2: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
231 | uint16 preferred_apple_mode; // Preferred depth/resolution | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:232:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
232 | uint32 preferred_id; | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:234:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
234 | uint32 slot_param; // Mac address of Slot Manager parameter block | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h:240:2: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
240 | uint16 apple_mode_for_depth[6]; | |
| ^~~~~~ | |
| uint8 | |
./../include/video.h: In member function ‘void monitor_desc::set_mac_frame_base(int)’: | |
./../include/video.h:156:40: error: ‘mac_frame_base’ was not declared in this scope; did you mean ‘set_mac_frame_base’? | |
156 | void set_mac_frame_base(uint32 base) {mac_frame_base = base;} | |
| ^~~~~~~~~~~~~~ | |
| set_mac_frame_base | |
./../include/video.h: At global scope: | |
./../include/video.h:258:8: error: ‘int16’ does not name a type | |
258 | extern int16 VideoDriverOpen(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/video.h:259:8: error: ‘int16’ does not name a type | |
259 | extern int16 VideoDriverControl(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/video.h:260:8: error: ‘int16’ does not name a type | |
260 | extern int16 VideoDriverStatus(uint32 pb, uint32 dce); | |
| ^~~~~ | |
In file included from ./../main.cpp:33: | |
./../include/serial.h:41:8: error: ‘int16’ does not name a type | |
41 | extern int16 SerialOpen(uint32 pb, uint32 dce, int port); | |
| ^~~~~ | |
./../include/serial.h:42:8: error: ‘int16’ does not name a type | |
42 | extern int16 SerialPrime(uint32 pb, uint32 dce, int port); | |
| ^~~~~ | |
./../include/serial.h:43:8: error: ‘int16’ does not name a type | |
43 | extern int16 SerialControl(uint32 pb, uint32 dce, int port); | |
| ^~~~~ | |
./../include/serial.h:44:8: error: ‘int16’ does not name a type | |
44 | extern int16 SerialStatus(uint32 pb, uint32 dce, int port); | |
| ^~~~~ | |
./../include/serial.h:45:8: error: ‘int16’ does not name a type | |
45 | extern int16 SerialClose(uint32 pb, uint32 dce, int port); | |
| ^~~~~ | |
./../include/serial.h:74:10: error: ‘int16’ does not name a type | |
74 | virtual int16 open(uint16 config) = 0; | |
| ^~~~~ | |
./../include/serial.h:75:10: error: ‘int16’ does not name a type | |
75 | virtual int16 prime_in(uint32 pb, uint32 dce) = 0; | |
| ^~~~~ | |
./../include/serial.h:76:10: error: ‘int16’ does not name a type | |
76 | virtual int16 prime_out(uint32 pb, uint32 dce) = 0; | |
| ^~~~~ | |
./../include/serial.h:77:10: error: ‘int16’ does not name a type | |
77 | virtual int16 control(uint32 pb, uint32 dce, uint16 code) = 0; | |
| ^~~~~ | |
./../include/serial.h:78:10: error: ‘int16’ does not name a type | |
78 | virtual int16 status(uint32 pb, uint32 dce, uint16 code) = 0; | |
| ^~~~~ | |
./../include/serial.h:79:10: error: ‘int16’ does not name a type | |
79 | virtual int16 close(void) = 0; | |
| ^~~~~ | |
./../include/serial.h:86:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
86 | uint32 input_dt; // Mac address of Deferred Task for reading | |
| ^~~~~~ | |
| uint8 | |
./../include/serial.h:90:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
90 | uint32 output_dt; // Mac address of Deferred Task for writing | |
| ^~~~~~ | |
| uint8 | |
./../include/serial.h: In constructor ‘SERDPort::SERDPort()’: | |
./../include/serial.h:69:3: error: ‘input_dt’ was not declared in this scope | |
69 | input_dt = output_dt = 0; | |
| ^~~~~~~~ | |
./../include/serial.h:69:14: error: ‘output_dt’ was not declared in this scope | |
69 | input_dt = output_dt = 0; | |
| ^~~~~~~~~ | |
In file included from ./../main.cpp:34: | |
./../include/ether.h: At global scope: | |
./../include/ether.h:29:8: error: ‘int16’ does not name a type | |
29 | extern int16 EtherOpen(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/ether.h:30:8: error: ‘int16’ does not name a type | |
30 | extern int16 EtherControl(uint32 pb, uint32 dce); | |
| ^~~~~ | |
./../include/ether.h:31:29: error: variable or field ‘EtherReadPacket’ declared void | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~~~~ | |
./../include/ether.h:31:29: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:31:37: error: ‘src’ was not declared in this scope | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~ | |
./../include/ether.h:31:42: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:31:50: error: ‘dest’ was not declared in this scope | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~~ | |
./../include/ether.h:31:56: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:31:64: error: ‘len’ was not declared in this scope | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~ | |
./../include/ether.h:31:69: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:31:77: error: ‘remaining’ was not declared in this scope | |
31 | extern void EtherReadPacket(uint32 &src, uint32 &dest, uint32 &len, uint32 &remaining); | |
| ^~~~~~~~~ | |
./../include/ether.h:40:8: error: ‘int16’ does not name a type | |
40 | extern int16 ether_add_multicast(uint32 pb); | |
| ^~~~~ | |
./../include/ether.h:41:8: error: ‘int16’ does not name a type | |
41 | extern int16 ether_del_multicast(uint32 pb); | |
| ^~~~~ | |
./../include/ether.h:42:8: error: ‘int16’ does not name a type | |
42 | extern int16 ether_attach_ph(uint16 type, uint32 handler); | |
| ^~~~~ | |
./../include/ether.h:43:8: error: ‘int16’ does not name a type | |
43 | extern int16 ether_detach_ph(uint16 type); | |
| ^~~~~ | |
./../include/ether.h:44:8: error: ‘int16’ does not name a type | |
44 | extern int16 ether_write(uint32 wds); | |
| ^~~~~ | |
./../include/ether.h:47:28: error: variable or field ‘ether_udp_read’ declared void | |
47 | extern void ether_udp_read(uint32 packet, int length, struct sockaddr_in *from); | |
| ^~~~~~ | |
./../include/ether.h:47:28: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
47 | extern void ether_udp_read(uint32 packet, int length, struct sockaddr_in *from); | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:47:43: error: expected primary-expression before ‘int’ | |
47 | extern void ether_udp_read(uint32 packet, int length, struct sockaddr_in *from); | |
| ^~~ | |
./../include/ether.h:47:55: error: expected primary-expression before ‘struct’ | |
47 | extern void ether_udp_read(uint32 packet, int length, struct sockaddr_in *from); | |
| ^~~~~~ | |
./../include/ether.h:62:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
62 | extern uint32 ether_data; // Mac address of driver data in MacOS RAM | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:71:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
71 | uint32 packet; | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:75:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
75 | uint32 addr(void) const { return packet; } | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:81:8: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ | |
81 | static inline int ether_wds_to_buffer(uint32 wds, uint8 *p) | |
| ^~~~~~ | |
./../include/ether.h:81:39: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
81 | static inline int ether_wds_to_buffer(uint32 wds, uint8 *p) | |
| ^~~~~~ | |
| uint8 | |
./../include/ether.h:81:57: error: expected primary-expression before ‘*’ token | |
81 | static inline int ether_wds_to_buffer(uint32 wds, uint8 *p) | |
| ^ | |
./../include/ether.h:81:58: error: ‘p’ was not declared in this scope | |
81 | static inline int ether_wds_to_buffer(uint32 wds, uint8 *p) | |
| ^ | |
./../include/ether.h:81:59: error: expression list treated as compound expression in initializer [-fpermissive] | |
81 | static inline int ether_wds_to_buffer(uint32 wds, uint8 *p) | |
| ^ | |
In file included from ./../main.cpp:35: | |
./../include/clip.h:28:22: error: variable or field ‘PutScrap’ declared void | |
28 | extern void PutScrap(uint32 type, void *scrap, int32 length); | |
| ^~~~~~ | |
./../include/clip.h:28:22: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
28 | extern void PutScrap(uint32 type, void *scrap, int32 length); | |
| ^~~~~~ | |
| uint8 | |
./../include/clip.h:28:35: error: expected primary-expression before ‘void’ | |
28 | extern void PutScrap(uint32 type, void *scrap, int32 length); | |
| ^~~~ | |
./../include/clip.h:28:48: error: ‘int32’ was not declared in this scope | |
28 | extern void PutScrap(uint32 type, void *scrap, int32 length); | |
| ^~~~~ | |
./../include/clip.h:29:37: error: ‘uint32’ has not been declared | |
29 | extern void GetScrap(void **handle, uint32 type, int32 offset); | |
| ^~~~~~ | |
./../include/clip.h:29:50: error: ‘int32’ has not been declared | |
29 | extern void GetScrap(void **handle, uint32 type, int32 offset); | |
| ^~~~~ | |
In file included from ./../main.cpp:37: | |
./../include/rom_patches.h:33:8: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
33 | extern uint16 ROMVersion; | |
| ^~~~~~ | |
| uint8 | |
./../include/rom_patches.h:36:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
36 | extern uint32 ROMBreakpoint; | |
| ^~~~~~ | |
| uint8 | |
./../include/rom_patches.h:39:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
39 | extern uint32 UniversalInfo; | |
| ^~~~~~ | |
| uint8 | |
./../include/rom_patches.h:42:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
42 | extern uint32 PutScrapPatch; | |
| ^~~~~~ | |
| uint8 | |
./../include/rom_patches.h:45:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
45 | extern uint32 GetScrapPatch; | |
| ^~~~~~ | |
| uint8 | |
./../include/rom_patches.h:52:28: error: variable or field ‘InstallDrivers’ declared void | |
52 | extern void InstallDrivers(uint32 pb); | |
| ^~~~~~ | |
./../include/rom_patches.h:52:28: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
52 | extern void InstallDrivers(uint32 pb); | |
| ^~~~~~ | |
| uint8 | |
In file included from ./../main.cpp:39: | |
./../include/prefs.h:44:45: error: ‘int32’ has not been declared | |
44 | extern void PrefsAddInt32(const char *name, int32 val); | |
| ^~~~~ | |
./../include/prefs.h:48:49: error: ‘int32’ has not been declared | |
48 | extern void PrefsReplaceInt32(const char *name, int32 val); | |
| ^~~~~ | |
./../include/prefs.h:52:8: error: ‘int32’ does not name a type | |
52 | extern int32 PrefsFindInt32(const char *name); | |
| ^~~~~ | |
In file included from ./../main.cpp:40: | |
./../include/main.h:36:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
36 | uint32 d[8]; | |
| ^~~~~~ | |
| uint8 | |
./../include/main.h:37:2: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
37 | uint32 a[8]; | |
| ^~~~~~ | |
| uint8 | |
./../include/main.h:38:2: error: ‘uint16’ does not name a type; did you mean ‘uint8’? | |
38 | uint16 sr; | |
| ^~~~~~ | |
| uint8 | |
./../include/main.h:46:41: error: ‘uint32’ has not been declared | |
46 | extern void FlushCodeCache(void *start, uint32 size); // Code was patched, flush caches if neccessary | |
| ^~~~~~ | |
./../include/main.h:73:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
73 | extern uint32 InterruptFlags; // Currently pending interrupts | |
| ^~~~~~ | |
| uint8 | |
./../include/main.h:74:30: error: variable or field ‘SetInterruptFlag’ declared void | |
74 | extern void SetInterruptFlag(uint32 flag); // Set/clear interrupt flags | |
| ^~~~~~ | |
./../include/main.h:74:30: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
74 | extern void SetInterruptFlag(uint32 flag); // Set/clear interrupt flags | |
| ^~~~~~ | |
| uint8 | |
./../include/main.h:75:32: error: variable or field ‘ClearInterruptFlag’ declared void | |
75 | extern void ClearInterruptFlag(uint32 flag); | |
| ^~~~~~ | |
./../include/main.h:75:32: error: ‘uint32’ was not declared in this scope; did you mean ‘uint8’? | |
75 | extern void ClearInterruptFlag(uint32 flag); | |
| ^~~~~~ | |
| uint8 | |
In file included from ./../main.cpp:46: | |
../../../cxmon/src/mon.h:72:8: error: ‘uintptr’ does not name a type; did you mean ‘uint8’? | |
72 | extern uintptr mon_number; // Contains the number if mon_token==T_NUMBER | |
| ^~~~~~~ | |
| uint8 | |
../../../cxmon/src/mon.h:80:8: error: ‘uintptr’ does not name a type; did you mean ‘uint8’? | |
80 | extern uintptr mon_dot_address; | |
| ^~~~~~~ | |
| uint8 | |
../../../cxmon/src/mon.h:83:8: error: ‘uint32’ does not name a type; did you mean ‘uint8’? | |
83 | extern uint32 mon_mem_size; // Size of mon buffer (if mon_use_real_mem = false) | |
| ^~~~~~ | |
| uint8 | |
../../../cxmon/src/mon.h:87:18: error: ‘uintptr’ was not declared in this scope; did you mean ‘uint8’? | |
87 | typedef std::set<uintptr> BREAK_POINT_SET; | |
| ^~~~~~~ | |
| uint8 | |
../../../cxmon/src/mon.h:87:25: error: template argument 1 is invalid | |
87 | typedef std::set<uintptr> BREAK_POINT_SET; | |
| ^ | |
../../../cxmon/src/mon.h:87:25: error: template argument 2 is invalid | |
../../../cxmon/src/mon.h:87:25: error: template argument 3 is invalid | |
../../../cxmon/src/mon.h:97:13: warning: ‘mon_expression’ initialized and declared ‘extern’ | |
97 | extern bool mon_expression(uintptr *number); // Parse expression | |
| ^~~~~~~~~~~~~~ | |
../../../cxmon/src/mon.h:97:28: error: ‘uintptr’ was not declared in this scope; did you mean ‘uint8’? | |
97 | extern bool mon_expression(uintptr *number); // Parse expression | |
| ^~~~~~~ | |
| uint8 | |
../../../cxmon/src/mon.h:97:37: error: ‘number’ was not declared in this scope | |
97 | extern bool mon_expression(uintptr *number); // Parse expression | |
| ^~~~~~ | |
../../../cxmon/src/mon.h:101:15: error: ISO C++ forbids declaration of ‘uint32’ with no type [-fpermissive] | |
101 | extern uint32 (*mon_read_byte)(uintptr adr); | |
| ^ | |
../../../cxmon/src/mon.h:101:8: warning: ‘uint32’ initialized and declared ‘extern’ | |
101 | extern uint32 (*mon_read_byte)(uintptr adr); | |
| ^~~~~~ | |
../../../cxmon/src/mon.h:101:17: error: ‘mon_read_byte’ was not declared in this scope | |
101 | extern uint32 (*mon_read_byte)(uintptr adr); | |
| ^~~~~~~~~~~~~ | |
../../../cxmon/src/mon.h:102:15: warning: ‘mon_write_byte’ initialized and declared ‘extern’ | |
102 | extern void (*mon_write_byte)(uintptr adr, uint32 b); | |
| ^~~~~~~~~~~~~~ | |
../../../cxmon/src/mon.h:102:31: error: ‘uintptr’ was not declared in this scope | |
102 | extern void (*mon_write_byte)(uintptr adr, uint32 b); | |
| ^~~~~~~ | |
../../../cxmon/src/mon.h:102:50: error: expected ‘)’ before ‘b’ | |
102 | extern void (*mon_write_byte)(uintptr adr, uint32 b); | |
| ~ ^~ | |
| ) | |
../../../cxmon/src/mon.h:102:52: error: expression list treated as compound expression in initializer [-fpermissive] | |
102 | extern void (*mon_write_byte)(uintptr adr, uint32 b); | |
| ^ | |
../../../cxmon/src/mon.h:103:8: error: ‘uint32’ does not name a type | |
103 | extern uint32 mon_read_half(uintptr adr); | |
| ^~~~~~ | |
../../../cxmon/src/mon.h:104:28: error: variable or field ‘mon_write_half’ declared void | |
104 | extern void mon_write_half(uintptr adr, uint32 w); | |
| ^~~~~~~ | |
../../../cxmon/src/mon.h:104:28: error: ‘uintptr’ was not declared in this scope | |
../../../cxmon/src/mon.h:104:47: error: expected ‘)’ before ‘w’ | |
104 | extern void mon_write_half(uintptr adr, uint32 w); | |
| ~ ^~ | |
| ) | |
../../../cxmon/src/mon.h:105:8: error: ‘uint32’ does not name a type | |
105 | extern uint32 mon_read_word(uintptr adr); | |
| ^~~~~~ | |
../../../cxmon/src/mon.h:106:28: error: variable or field ‘mon_write_word’ declared void | |
106 | extern void mon_write_word(uintptr adr, uint32 l); | |
| ^~~~~~~ | |
../../../cxmon/src/mon.h:106:28: error: ‘uintptr’ was not declared in this scope | |
../../../cxmon/src/mon.h:106:47: error: expected ‘)’ before ‘l’ | |
106 | extern void mon_write_word(uintptr adr, uint32 l); | |
| ~ ^~ | |
| ) | |
../../../cxmon/src/mon.h:111:33: error: variable or field ‘mon_add_break_point’ declared void | |
111 | extern void mon_add_break_point(uintptr addr); | |
| ^~~~~~~ | |
../../../cxmon/src/mon.h:111:33: error: ‘uintptr’ was not declared in this scope | |
./../main.cpp:48:8: error: ‘uint32’ does not name a type | |
48 | static uint32 mon_read_byte_b2(uintptr adr) | |
| ^~~~~~ | |
./../main.cpp:53:31: error: variable or field ‘mon_write_byte_b2’ declared void | |
53 | static void mon_write_byte_b2(uintptr adr, uint32 b) | |
| ^~~~~~~ | |
./../main.cpp:53:31: error: ‘uintptr’ was not declared in this scope | |
./../main.cpp:53:50: error: expected ‘)’ before ‘b’ | |
53 | static void mon_write_byte_b2(uintptr adr, uint32 b) | |
| ~ ^~ | |
| ) | |
./../main.cpp: In function ‘bool InitAll(const char*)’: | |
./../main.cpp:74:10: error: ‘ROMVersion’ was not declared in this scope | |
74 | switch (ROMVersion) { | |
| ^~~~~~~~~~ | |
./../main.cpp:83:14: error: ‘PrefsFindInt32’ was not declared in this scope; did you mean ‘PrefsAddInt32’? | |
83 | CPUType = PrefsFindInt32("cpu"); | |
| ^~~~~~~~~~~~~~ | |
| PrefsAddInt32 | |
./../main.cpp:136:2: error: ‘int16’ was not declared in this scope | |
136 | int16 i16 = PrefsFindInt32("bootdrive"); | |
| ^~~~~ | |
./../main.cpp:137:16: error: ‘i16’ was not declared in this scope | |
137 | XPRAM[0x78] = i16 >> 8; | |
| ^~~ | |
./../main.cpp:139:8: error: ‘PrefsFindInt32’ was not declared in this scope; did you mean ‘PrefsAddInt32’? | |
139 | i16 = PrefsFindInt32("bootdriver"); | |
| ^~~~~~~~~~~~~~ | |
| PrefsAddInt32 | |
./../main.cpp:173:17: error: ‘ROMVersion’ was not declared in this scope | |
173 | if (!VideoInit(ROMVersion == ROM_VERSION_64K || ROMVersion == ROM_VERSION_PLUS || ROMVersion == ROM_VERSION_CLASSIC)) | |
| ^~~~~~~~~~ | |
./../main.cpp:180:35: error: ‘const class monitor_desc’ has no member named ‘depth_to_apple_mode’ | |
180 | XPRAM[0x58] = uint8(main_monitor.depth_to_apple_mode(main_monitor.get_current_mode().depth)); | |
| ^~~~~~~~~~~~~~~~~~~ | |
./../main.cpp:198:2: error: ‘mon_read_byte’ was not declared in this scope; did you mean ‘mon_write_byte’? | |
198 | mon_read_byte = mon_read_byte_b2; | |
| ^~~~~~~~~~~~~ | |
| mon_write_byte | |
./../main.cpp:198:18: error: ‘mon_read_byte_b2’ was not declared in this scope | |
198 | mon_read_byte = mon_read_byte_b2; | |
| ^~~~~~~~~~~~~~~~ | |
./../main.cpp:199:19: error: ‘mon_write_byte_b2’ was not declared in this scope; did you mean ‘mon_write_byte’? | |
199 | mon_write_byte = mon_write_byte_b2; | |
| ^~~~~~~~~~~~~~~~~ | |
| mon_write_byte | |
make: *** [Makefile:194: obj/main.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment