diff options
author | Bernard Normier <bernard@zeroc.com> | 2019-07-15 05:14:32 -0400 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-07-15 11:14:32 +0200 |
commit | 2e60ce8af12b12a8c1aed18c7bea2413016d4004 (patch) | |
tree | 4f5f578bb99ea4713cbc1d0e57346b6036c70f10 /cpp/test/Ice/operations/OnewaysAMI.cpp | |
parent | Test script minor warning fixes (diff) | |
download | ice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.tar.bz2 ice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.tar.xz ice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.zip |
Port to AIX with g++, xlC_r and xlclang++ (#434)
Diffstat (limited to 'cpp/test/Ice/operations/OnewaysAMI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/OnewaysAMI.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/OnewaysAMI.cpp b/cpp/test/Ice/operations/OnewaysAMI.cpp index bd3fc9241f7..2b73c141ee4 100644 --- a/cpp/test/Ice/operations/OnewaysAMI.cpp +++ b/cpp/test/Ice/operations/OnewaysAMI.cpp @@ -8,7 +8,12 @@ using namespace std; +// Work-around for anonymous namspace bug in xlclang++ +#ifdef __ibmxl__ +namespace OnewaysAMINamespace +#else namespace +#endif { class CallbackBase @@ -75,6 +80,10 @@ ICE_DEFINE_PTR(CallbackPtr, Callback); } +#ifdef __ibmxl__ +using namespace OnewaysAMINamespace; +#endif + void onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr& proxy) { |