diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2005-09-12 03:01:43 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2005-09-12 03:01:43 -0400 |
commit | c62760e3cbe912e17c25e9fc0bd0810a79d676bb (patch) | |
tree | bc23372cd27e3362135c3e1efdb0b4bff5e94d81 /sim | |
parent | 845bdb0d8edf3c8e5f8871eba984933bfca6a743 (diff) | |
download | gem5-c62760e3cbe912e17c25e9fc0bd0810a79d676bb.tar.xz |
fixes for gcc 4.0
base/mysql.hh:
include mysql_version to get rid of that annoying mysql error.
make sure refcount is set in all constructors
base/pollevent.hh:
dev/ethertap.hh:
dev/pciconfigall.hh:
dev/tsunami_cchip.hh:
dev/tsunami_io.hh:
dev/tsunami_pchip.hh:
sim/param.cc:
fix for gcc 4
--HG--
extra : convert_revision : be626af2f40ca402818996ef27249ae256c63ef1
Diffstat (limited to 'sim')
-rw-r--r-- | sim/param.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/param.cc b/sim/param.cc index 396fde3ac..bc81881d3 100644 --- a/sim/param.cc +++ b/sim/param.cc @@ -303,8 +303,8 @@ template void Param<type>::parse(const string &); \ template void VectorParam<type>::parse(const string &); \ template void Param<type>::showValue(ostream &) const; \ template void VectorParam<type>::showValue(ostream &) const; \ -void Param<type>::showType(ostream &os) const { os << typestr; } \ -void VectorParam<type>::showType(ostream &os) const { \ +template <> void Param<type>::showType(ostream &os) const { os << typestr; } \ +template <> void VectorParam<type>::showType(ostream &os) const { \ os << "vector of " << typestr; \ } #endif |