diff --git a/ext/-test-/cxxanyargs/cxxanyargs.cpp b/ext/-test-/cxxanyargs/cxxanyargs.cpp index c9254d40f3..eded13e2ee 100644 --- a/ext/-test-/cxxanyargs/cxxanyargs.cpp +++ b/ext/-test-/cxxanyargs/cxxanyargs.cpp @@ -14,6 +14,9 @@ #elif defined(__GNUC__) #pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#elif defined(__SUNPRO_CC) +#pragma error_messages (off,symdeprecated) + #else // :FIXME: improve here for your compiler.