summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/interceptor/MyObjectI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2008-04-02 16:21:29 -0400
committerBernard Normier <bernard@zeroc.com>2008-04-02 16:21:29 -0400
commit4f9d0237e81ee7a4e375afcac74d324a584d6e72 (patch)
tree8d3c907f9c56a2d15b6d6ed225c517817d38d227 /cpp/test/Ice/interceptor/MyObjectI.cpp
parentbug 2944 - VC9 build failure in VB project helloIceBoxS (diff)
downloadice-4f9d0237e81ee7a4e375afcac74d324a584d6e72.tar.bz2
ice-4f9d0237e81ee7a4e375afcac74d324a584d6e72.tar.xz
ice-4f9d0237e81ee7a4e375afcac74d324a584d6e72.zip
Fixed bug #2934
Diffstat (limited to 'cpp/test/Ice/interceptor/MyObjectI.cpp')
-rw-r--r--cpp/test/Ice/interceptor/MyObjectI.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/test/Ice/interceptor/MyObjectI.cpp b/cpp/test/Ice/interceptor/MyObjectI.cpp
index af464761ef3..08a3b3b2975 100644
--- a/cpp/test/Ice/interceptor/MyObjectI.cpp
+++ b/cpp/test/Ice/interceptor/MyObjectI.cpp
@@ -49,6 +49,9 @@ int
MyObjectI::badSystemAdd(int, int, const Ice::Current&)
{
throw Ice::InitializationException(__FILE__, __LINE__, "testing");
+#ifdef __SUNPRO_CC
+ return 0;
+#endif
}