1
0
Fork 0
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:
卜部昌平 2020-08-19 16:33:15 +09:00
parent 01826b3fda
commit 80b316212a
Notes: git 2020-08-21 11:05:21 +09:00

View file

@ -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.