diff --git a/test/bind_cv_test.cpp b/test/bind_cv_test.cpp index 55c2472..257aaa9 100644 --- a/test/bind_cv_test.cpp +++ b/test/bind_cv_test.cpp @@ -33,6 +33,12 @@ struct X { + // SGI-related compilers have odd compiler-synthesized ctors dtors + #ifdef __PATHSCALE__ + X() {} + ~X() {} + #endif + int operator()() { return 17041; diff --git a/test/bind_stateful_test.cpp b/test/bind_stateful_test.cpp index b57ea59..04fc0e8 100644 --- a/test/bind_stateful_test.cpp +++ b/test/bind_stateful_test.cpp @@ -43,6 +43,11 @@ public: { } + // SGI-related compilers have odd compiler-synthesized ctors and dtors + #ifdef __PATHSCALE__ + ~X() {} + #endif + int state() const { return state_;