From 2015c854c54ac13d3712ddb58e946659dcc617dc Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 31 Oct 2014 16:52:36 +0100 Subject: fix for open() not taking a std::string --- linkers/rtems-syms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3