diff options
author | Jose <jose@zeroc.com> | 2017-01-09 21:06:27 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-01-09 21:06:27 +0100 |
commit | 6e829941340076b3844e4a95a4f6ffb890958bec (patch) | |
tree | d8ecb66d4b92adfed6538348ce9e5a09b28c569d /ruby/src/IceRuby/Slice.cpp | |
parent | Merge remote-tracking branch 'origin/3.6' (diff) | |
download | ice-6e829941340076b3844e4a95a4f6ffb890958bec.tar.bz2 ice-6e829941340076b3844e4a95a4f6ffb890958bec.tar.xz ice-6e829941340076b3844e4a95a4f6ffb890958bec.zip |
Python/Ruby build fixes
Diffstat (limited to 'ruby/src/IceRuby/Slice.cpp')
-rw-r--r-- | ruby/src/IceRuby/Slice.cpp | 8 |
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); |