On Wed, 20 Apr 2011, nathan binkert wrote:

Because that file is being included regardless. ?I'm actively trying
to squash all of these bugs and I'll be committing some changes soon.
This one is trivial to fix.

I can't reproduce this bug on my machine, even with USE_MYSQL=False.
Can you try the attached diff?  If it works for you, feel free to
commit it.  If it doesn't work, just fix it however you need to and
post a diff.

 Nate


The bug exists in 8246. Following works for me -


diff -r a9d06c894afe src/base/stats/mysql.hh
--- a/src/base/stats/mysql.hh   Wed Apr 20 18:45:03 2011 -0700
+++ b/src/base/stats/mysql.hh   Thu Apr 21 15:28:29 2011 -0500
@@ -37,6 +37,7 @@
 #include <string>

 #include "base/stats/output.hh"
+#include "base/types.hh"
 #include "config/use_mysql.hh"

 namespace MySQL { class Connection; }



--
Nilay
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to