summaryrefslogtreecommitdiff
path: root/ext/-test-
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-04-10 13:55:08 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-04-10 16:17:30 +0900
commitdefc0ee9d172c2caa8742cc682a8aa389942d6ef (patch)
tree3c2d20795971a354e208a1cd559104964860674b /ext/-test-
parent4e7d84cf8778b397fd08730def354dca3ba6d76f (diff)
ext/-test-/cxxanyargs: add #pragma for icc.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3011
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/cxxanyargs/cxxanyargs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/-test-/cxxanyargs/cxxanyargs.cpp b/ext/-test-/cxxanyargs/cxxanyargs.cpp
index cafd7f5bf7b..c9254d40f38 100644
--- a/ext/-test-/cxxanyargs/cxxanyargs.cpp
+++ b/ext/-test-/cxxanyargs/cxxanyargs.cpp
@@ -5,6 +5,9 @@
#elif defined(_MSC_VER)
#pragma warning(disable : 4996)
+#elif defined(__INTEL_COMPILER)
+#pragma warning(disable : 1786)
+
#elif defined(__clang__)
#pragma clang diagnostic ignored "-Wdeprecated-declarations"