scons: Add warning for overloaded virtual functions
Fix the ISA startup warnings
This commit is contained in:
parent
0acd2a96e5
commit
b44e0ce52b
6 changed files with 19 additions and 0 deletions
|
@ -108,6 +108,9 @@ namespace AlphaISA
|
|||
ISA(Params *p);
|
||||
|
||||
void startup(ThreadContext *tc) {}
|
||||
|
||||
/// Explicitly import the otherwise hidden startup
|
||||
using SimObject::startup;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -195,6 +195,9 @@ namespace ArmISA
|
|||
|
||||
void startup(ThreadContext *tc) {}
|
||||
|
||||
/// Explicitly import the otherwise hidden startup
|
||||
using SimObject::startup;
|
||||
|
||||
typedef ArmISAParams Params;
|
||||
|
||||
const Params *params() const;
|
||||
|
|
|
@ -159,6 +159,9 @@ namespace MipsISA
|
|||
public:
|
||||
void startup(ThreadContext *tc) {}
|
||||
|
||||
/// Explicitly import the otherwise hidden startup
|
||||
using SimObject::startup;
|
||||
|
||||
const Params *params() const;
|
||||
|
||||
ISA(Params *p);
|
||||
|
|
|
@ -100,6 +100,9 @@ class ISA : public SimObject
|
|||
|
||||
void startup(ThreadContext *tc) {}
|
||||
|
||||
/// Explicitly import the otherwise hidden startup
|
||||
using SimObject::startup;
|
||||
|
||||
const Params *params() const;
|
||||
|
||||
ISA(Params *p);
|
||||
|
|
|
@ -173,6 +173,9 @@ class ISA : public SimObject
|
|||
|
||||
void startup(ThreadContext *tc) {}
|
||||
|
||||
/// Explicitly import the otherwise hidden startup
|
||||
using SimObject::startup;
|
||||
|
||||
protected:
|
||||
|
||||
bool isHyperPriv() { return hpstate.hpriv; }
|
||||
|
|
|
@ -88,6 +88,10 @@ namespace X86ISA
|
|||
void serialize(std::ostream &os);
|
||||
void unserialize(Checkpoint *cp, const std::string §ion);
|
||||
void startup(ThreadContext *tc);
|
||||
|
||||
/// Explicitly import the otherwise hidden startup
|
||||
using SimObject::startup;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue