From: usa@... Date: 2016-06-08T05:35:00+00:00 Subject: [ruby-core:75894] [Ruby trunk Bug#12417] warning: "isfinite" redefined when compiling bigdecimal.c on cygwin Issue #12417 has been updated by Usaku NAKAMURA. Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED ---------------------------------------- Bug #12417: warning: "isfinite" redefined when compiling bigdecimal.c on cygwin https://bugs.ruby-lang.org/issues/12417#change-59075 * Author: Martin D��rst * Status: Closed * Priority: Normal * Assignee: Shyouhei Urabe * ruby -v: ruby 2.4.0dev (2016-05-23 trunk 55132) [x86_64-cygwin] * Backport: 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED ---------------------------------------- When using `make up; make install-nodoc`, I get the following warning: ``` compiling bigdecimal.c bigdecimal.c:34:0: warning: "isfinite" redefined # define isfinite(x) finite(x) ^ In file included from ../.././include/ruby/missing.h:23:0, from ../.././include/ruby/defines.h:125, from ../.././include/ruby/ruby.h:36, from bigdecimal.h:12, from bigdecimal.c:13: /usr/include/math.h:238:0: note: this is the location of the previous definition #define isfinite(__x) (__builtin_isfinite (__x)) ^ cc1: warning: unrecognized command line option ���-Wno-self-assign��� cc1: warning: unrecognized command line option ���-Wno-constant-logical-operand��� cc1: warning: unrecognized command line option ���-Wno-parentheses-equality��� cc1: warning: unrecognized command line option ���-Wno-tautological-compare��� linking shared-object bigdecimal.so ``` -- https://bugs.ruby-lang.org/ Unsubscribe: