summaryrefslogtreecommitdiff
path: root/ruby/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-01-09 21:06:27 +0100
committerJose <jose@zeroc.com>2017-01-09 21:06:27 +0100
commit6e829941340076b3844e4a95a4f6ffb890958bec (patch)
treed8ecb66d4b92adfed6538348ce9e5a09b28c569d /ruby/src
parentMerge remote-tracking branch 'origin/3.6' (diff)
downloadice-6e829941340076b3844e4a95a4f6ffb890958bec.tar.bz2
ice-6e829941340076b3844e4a95a4f6ffb890958bec.tar.xz
ice-6e829941340076b3844e4a95a4f6ffb890958bec.zip
Python/Ruby build fixes
Diffstat (limited to 'ruby/src')
-rw-r--r--ruby/src/IceRuby/Slice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ruby/src/IceRuby/Slice.cpp b/ruby/src/IceRuby/Slice.cpp
index c868920c298..7c63a86dd6b 100644
--- a/ruby/src/IceRuby/Slice.cpp
+++ b/ruby/src/IceRuby/Slice.cpp
@@ -187,22 +187,22 @@ IceRuby_compile(int argc, VALUE* argv, VALUE self)
}
catch(const std::exception& ex)
{
- getErrorStream() << argSeq[0] << ": error:" << ex.what() << endl;
+ cerr << argSeq[0] << ": error:" << ex.what() << endl;
rc = EXIT_FAILURE;
}
catch(const std::string& msg)
{
- getErrorStream() << argSeq[0] << ": error:" << msg << endl;
+ cerr << argSeq[0] << ": error:" << msg << endl;
rc = EXIT_FAILURE;
}
catch(const char* msg)
{
- getErrorStream() << argSeq[0] << ": error:" << msg << endl;
+ cerr << argSeq[0] << ": error:" << msg << endl;
rc = EXIT_FAILURE;
}
catch(...)
{
- getErrorStream() << argSeq[0] << ": error:" << "unknown exception" << endl;
+ cerr << argSeq[0] << ": error:" << "unknown exception" << endl;
rc = EXIT_FAILURE;
}
return INT2FIX(rc);