diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:07 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:07 -0500 |
commit | 319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf (patch) | |
tree | 49e9d2efb1b21b93cc825dbcbb2c906cbe71fa31 /src/base/stats | |
parent | b44e0ce52b894fd4eecc9339e213b7a111c2cc1d (diff) | |
download | gem5-319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf.tar.xz |
scons: Add warning for missing declarations
This patch enables warnings for missing declarations. To avoid issues
with SWIG-generated code, the warning is only applied to non-SWIG
code.
Diffstat (limited to 'src/base/stats')
-rw-r--r-- | src/base/stats/text.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/stats/text.hh b/src/base/stats/text.hh index 7f7edaa91..8bb290a99 100644 --- a/src/base/stats/text.hh +++ b/src/base/stats/text.hh @@ -35,6 +35,7 @@ #include <string> #include "base/stats/output.hh" +#include "base/stats/types.hh" #include "base/output.hh" namespace Stats { @@ -75,6 +76,8 @@ class Text : public Output virtual void end(); }; +std::string ValueToString(Result value, int precision); + Output *initText(const std::string &filename, bool desc); } // namespace Stats |