diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-05-07 09:44:25 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-05-07 09:44:25 -0230 |
commit | 2d0d9ef78501a0d3c9b6ab77bd31afa845db7cd3 (patch) | |
tree | da8bb8159c737559c48989869a23e280e7cb38bd /cpp/src/Ice/Incoming.cpp | |
parent | Bug 3624 - desupport HP (diff) | |
download | ice-2d0d9ef78501a0d3c9b6ab77bd31afa845db7cd3.tar.bz2 ice-2d0d9ef78501a0d3c9b6ab77bd31afa845db7cd3.tar.xz ice-2d0d9ef78501a0d3c9b6ab77bd31afa845db7cd3.zip |
Bug 2664 - show stack traces with C++
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r-- | cpp/src/Ice/Incoming.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/Incoming.cpp b/cpp/src/Ice/Incoming.cpp index ee574377515..d907f0da0ac 100644 --- a/cpp/src/Ice/Incoming.cpp +++ b/cpp/src/Ice/Incoming.cpp @@ -77,6 +77,9 @@ IceInternal::IncomingBase::__warning(const Exception& ex) const { ostringstream str; str << ex; +#ifdef __GNUC__ + str << "\n" << ex.ice_stackTrace(); +#endif __warning(str.str()); } |