summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Preprocessor.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-06-15 06:33:57 +0000
committerMichi Henning <michi@zeroc.com>2004-06-15 06:33:57 +0000
commitadbc6ee084567a2fe6a696b7f67c80000e517ff8 (patch)
treead301b9b578daa2ffa73a79210e2d812e4a9924d /cpp/src/Slice/Preprocessor.cpp
parentdefault behavior of IcePatch client now calculates MD5s dynamically for (diff)
downloadice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.tar.bz2
ice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.tar.xz
ice-adbc6ee084567a2fe6a696b7f67c80000e517ff8.zip
- Added isOpen() method to OutputUtil.
- Removed calls to strerror(errno) in slice2cpp and slice2cs because the std::fstream operations do not set errno when something goes wrong, so any error messages always showed "no error" at the end. - Added support for --impl option to slice2cs. - Found two places in slice2java where exceptions where exception handlers were not ordered into derived-to-base order.
Diffstat (limited to 'cpp/src/Slice/Preprocessor.cpp')
-rw-r--r--cpp/src/Slice/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Preprocessor.cpp b/cpp/src/Slice/Preprocessor.cpp
index 7e97ac6e73a..b88f2e53d11 100644
--- a/cpp/src/Slice/Preprocessor.cpp
+++ b/cpp/src/Slice/Preprocessor.cpp
@@ -184,7 +184,7 @@ Slice::Preprocessor::checkInputFile()
ifstream test(_fileName.c_str());
if(!test)
{
- cerr << _path << ": can't open `" << _fileName << "' for reading: " << strerror(errno) << endl;
+ cerr << _path << ": can't open `" << _fileName << "' for reading" << endl;
return false;
}
test.close();