diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-08-19 16:33:15 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-08-21 11:04:54 +0900 |
commit | 80b316212a337df1ad605e4fae6da47330523d12 (patch) | |
tree | 1175480fde293f1771c0f7a5d1e66994ef9a2522 /ext/-test- | |
parent | 01826b3fda53a98d8fe57e698be52143e1fef2d6 (diff) |
ext/-test-/cxxanyargs: suppress SunPro warning
I found a way to suppress particular kind of warnings via pragmas.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3433
Diffstat (limited to 'ext/-test-')
-rw-r--r-- | ext/-test-/cxxanyargs/cxxanyargs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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. |