changeset 794711cac18b in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=794711cac18b
description:
scons: Address clang 3.2 compilation error
This patch fixes a compilation error encountered using clang 3.2 on OSX.
diffstat:
src/proto/protoio.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 13e68ad8db54 -r 794711cac18b src/proto/protoio.cc
--- a/src/proto/protoio.cc Mon Jan 14 10:23:54 2013 -0500
+++ b/src/proto/protoio.cc Mon Jan 14 10:23:56 2013 -0500
@@ -91,7 +91,7 @@
}
ProtoInputStream::ProtoInputStream(const string& filename) :
- fileStream(filename, ios::in | ios::binary), fileName(filename),
+ fileStream(filename.c_str(), ios::in | ios::binary), fileName(filename),
useGzip(false),
zeroCopyStream(NULL), gzipStream(NULL), codedStream(NULL)
{
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev