From 8d5dc328e1d15e3dd4dfbbfaf4bc57a6a0040bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Thu, 21 Jun 2012 16:43:16 +0200 Subject: [PATCH] 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. --- SheepShaver/src/kpx_cpu/include/basic-cpu.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/SheepShaver/src/kpx_cpu/include/basic-cpu.hpp b/SheepShaver/src/kpx_cpu/include/basic-cpu.hpp index b296f440..568ddb0b 100644 --- a/SheepShaver/src/kpx_cpu/include/basic-cpu.hpp +++ b/SheepShaver/src/kpx_cpu/include/basic-cpu.hpp @@ -47,8 +47,6 @@ union any_register * Basic CPU model **/ -struct task_struct; - struct basic_cpu : public task_plugin {