[前][次][番号順一覧][スレッド一覧]

ruby-changes:60726

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 10 Apr 2020 16:17:52 +0900 (JST)
Subject: [ruby-changes:60726] defc0ee9d1 (master): ext/-test-/cxxanyargs: add #pragma for icc.

https://git.ruby-lang.org/ruby.git/commit/?id=defc0ee9d1

From defc0ee9d172c2caa8742cc682a8aa389942d6ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?=
 <shyouhei@r...>
Date: Fri, 10 Apr 2020 13:55:08 +0900
Subject: ext/-test-/cxxanyargs: add #pragma for icc.


diff --git a/ext/-test-/cxxanyargs/cxxanyargs.cpp b/ext/-test-/cxxanyargs/cxxanyargs.cpp
index cafd7f5..c9254d4 100644
--- a/ext/-test-/cxxanyargs/cxxanyargs.cpp
+++ b/ext/-test-/cxxanyargs/cxxanyargs.cpp
@@ -5,6 +5,9 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/cxxanyargs/cxxanyargs.cpp#L5
 #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"
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]