summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Incoming.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r--cpp/src/Ice/Incoming.cpp3
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());
}