Actions
Bug #12417
closedwarning: "isfinite" redefined when compiling bigdecimal.c on cygwin
Description
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
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Status changed from Open to Closed
Applied in changeset r55133.
- ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on
cygwin. [Bug #12417][ruby-core:75691]
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Related to Bug #12414: FloatDomainError in infinite Range#include? for certain BigDecimals added
Actions
Like0
Like0Like0Like0