diff options
author | Jose <jose@zeroc.com> | 2018-07-27 13:55:58 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-07-27 13:55:58 +0200 |
commit | 83b85371785bae2928332ac758f2359b724ef420 (patch) | |
tree | de77474c09aeb5c2038286216578bbc628801734 /cpp/src/Slice/SliceUtil.cpp | |
parent | Fix UWP Build failure (diff) | |
download | ice-83b85371785bae2928332ac758f2359b724ef420.tar.bz2 ice-83b85371785bae2928332ac758f2359b724ef420.tar.xz ice-83b85371785bae2928332ac758f2359b724ef420.zip |
Replace strerror usage with IceUtilInternal::errorToString
Close #154
Diffstat (limited to 'cpp/src/Slice/SliceUtil.cpp')
-rw-r--r-- | cpp/src/Slice/SliceUtil.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Slice/SliceUtil.cpp b/cpp/src/Slice/SliceUtil.cpp index 2f4e67c5221..ae45fe5967d 100644 --- a/cpp/src/Slice/SliceUtil.cpp +++ b/cpp/src/Slice/SliceUtil.cpp @@ -7,7 +7,6 @@ // // ********************************************************************** -#include <IceUtil/DisableWarnings.h> #include <Slice/Util.h> #include <Slice/FileTracker.h> #include <IceUtil/FileUtil.h> @@ -397,7 +396,7 @@ Slice::writeDependencies(const string& dependencies, const string& dependFile) if(!of) { ostringstream os; - os << "cannot open file `" << dependFile << "': " << strerror(errno); + os << "cannot open file `" << dependFile << "': " << IceUtilInternal::errorToString(errno); throw Slice::FileException(__FILE__, __LINE__, os.str()); } of << dependencies; |