ext: Bump DRAMPower to avoid compilation issues
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 20 Oct 2014 22:03:53 +0000 (18:03 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 20 Oct 2014 22:03:53 +0000 (18:03 -0400)
This patch bumps DRAMPower to commit
19433a6897ede4bbb19b06694faa8589b5a6569a which contains a small fix
for clang, and a work-around for LTO with gcc 4.6.

ext/drampower/src/MemCommand.h
ext/drampower/src/Utils.h

index 4159fe008b13baa98e4687973ddb4bda2b5a5357..ea7164577dca2b982e100d4567903e48ed026e7f 100644 (file)
@@ -159,6 +159,7 @@ class MemCommand {
       }
     }
     assert(false); // Unknown name.
+    return NOP;  // For clang compilation
   }
 
  private:
index 3fba0961f2c5b6fc0906a9db2fccaa2671c1d2fa..4aa8bb22064869e3a1a7572afd2f50d1e1a57573 100644 (file)
@@ -54,8 +54,7 @@ throw(std::runtime_error)
   T t;
 
   if (!(is >> f >> t)) {
-    throw std::runtime_error("Cannot convert '" + s + "' to " +
-                             typeid(t).name() + " using fromString");
+    throw std::runtime_error("fromString cannot convert " + s);
   }
 
   return t;