mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/-test-/cxxanyargs: suppress SunPro warning
I found a way to suppress particular kind of warnings via pragmas.
This commit is contained in:
parent
01826b3fda
commit
80b316212a
Notes:
git
2020-08-21 11:05:21 +09:00
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue