mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 19:29:18 +00:00
struct to class
In file included from ../kpx_cpu/sheepshaver_glue.cpp:32: In file included from ../kpx_cpu/src/cpu/ppc/ppc-cpu.hpp:24: ../kpx_cpu/include/basic-cpu.hpp:50:1: warning: struct 'task_struct' was previously declared as a class [-Wmismatched-tags] struct task_struct; ^ ../kpx_cpu/include/task-plugin.hpp:27:7: note: previous use is here class task_struct; ^ In file included from ../kpx_cpu/sheepshaver_glue.cpp:32: In file included from ../kpx_cpu/src/cpu/ppc/ppc-cpu.hpp:24: ../kpx_cpu/include/basic-cpu.hpp:52:1: warning: 'basic_cpu' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct basic_cpu ^ ../kpx_cpu/include/task-plugin.hpp:29:1: note: did you mean struct here? class basic_cpu; ^~~~~ struct ../kpx_cpu/sheepshaver_glue.cpp:725:13: warning: unused function 'dump_log' [-Wunused-function] static void dump_log(void) ^ 3 warnings generated.
This commit is contained in:
parent
70f9c4dab9
commit
8d5dc328e1
@ -47,8 +47,6 @@ union any_register
|
||||
* Basic CPU model
|
||||
**/
|
||||
|
||||
struct task_struct;
|
||||
|
||||
struct basic_cpu
|
||||
: public task_plugin
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user