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

ruby-changes:60725

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 10 Apr 2020 16:17:51 +0900 (JST)
Subject: [ruby-changes:60725] 75802bcff1 (master): configuRe: suppress icc warnings

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

From 75802bcff1b941818832f0145071f7ce9c843d8d 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: Thu, 9 Apr 2020 16:25:17 +0900
Subject: configure: suppress icc warnings

Every time a pointer to/from VALUE conversion happens, these two
warnings are issued:

- warning #1684: conversion from pointer to same-sized integral type (potential portability problem)
- warning #2312: pointer cast involving 64-bit pointed-to type

Thank you, but we are well aware of the "potential portability problem".
Let us ignore them all.

diff --git a/configure.ac b/configure.ac
index d9e40b0..9c2cb14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -549,7 +549,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], https://github.com/ruby/ruby/blob/trunk/configure.ac#L549
 		 -Wsuggest-attribute=format \
 		 -Wsuggest-attribute=noreturn \
 		 -Wunused-variable \
-		 -diag-disable=175,188,2259 \
+		 -diag-disable=175,188,1684,2259,2312 \
 		 $extra_warnflags \
 		 ; do
 	AS_IF([test "$particular_werror_flags" != yes], [
-- 
cgit v0.10.2


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

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