[rtems-tools commit] fix for open() not taking a std::string
Chris Johns
chrisj at rtems.org
Fri Oct 31 22:49:39 UTC 2014
Module: rtems-tools
Branch: master
Commit: 2015c854c54ac13d3712ddb58e946659dcc617dc
Changeset: http://git.rtems.org/rtems-tools/commit/?id=2015c854c54ac13d3712ddb58e946659dcc617dc
Author: Ben Gras <beng at shrike-systems.com>
Date: Fri Oct 31 16:52:36 2014 +0100
fix for open() not taking a std::string
---
linkers/rtems-syms.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp
index 5d9f10a..b5dd3f3 100644
--- a/linkers/rtems-syms.cpp
+++ b/linkers/rtems-syms.cpp
@@ -440,7 +440,7 @@ main (int argc, char* argv[])
if (!map.empty ())
{
std::ofstream mout;
- mout.open (map);
+ mout.open (map.c_str());
if (!mout.is_open ())
throw rld::error ("map file open failed", "map");
mout << "RTEMS Kernel Symbols Map" << std::endl
More information about the vc
mailing list