projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1962e92
)
Ruby: Fix compilation errors on gcc 4.7 and clang 3.2
author
Andreas Hansson
<andreas.hansson@arm.com>
Thu, 14 Feb 2013 17:24:51 +0000
(12:24 -0500)
committer
Andreas Hansson
<andreas.hansson@arm.com>
Thu, 14 Feb 2013 17:24:51 +0000
(12:24 -0500)
This patch fixes a few (recently added) errors that prevented gem5 from
compiling on more recent versions of gcc and clang.
src/mem/ruby/system/MachineID.hh
patch
|
blob
|
history
diff --git
a/src/mem/ruby/system/MachineID.hh
b/src/mem/ruby/system/MachineID.hh
index 0bcd10efc39f5cb2c52d7fd332c132d282116297..0ad898959b5a26988d43c5064897b63b6dac4876 100644
(file)
--- a/
src/mem/ruby/system/MachineID.hh
+++ b/
src/mem/ruby/system/MachineID.hh
@@
-39,10
+39,10
@@
struct MachineID
{
MachineType type;
//! range: 0 ... number of this machine's components in system - 1
-
uint32_t
num;
+
NodeID
num;
MachineType getType() const { return type; }
-
uint32_t
getNum() const { return num; }
+
NodeID
getNum() const { return num; }
};
inline std::string