Forum: Ruby-core [ruby-trunk - Bug #9044][Open] Too many warnings with VC 2013

666b4e17b4bb0e2d999037a25f65a7cb?d=identicon&s=25 Heesob Park (phasis)
on 2013-10-23 07:57
(Received via mailing list)
Issue #9044 has been reported by phasis68 (Heesob Park).

----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-10-23 08:40
(Received via mailing list)
Issue #9044 has been updated by nobu (Nobuyoshi Nakada).


Those mathematics functions and a constant have been added?
----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42556

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
666b4e17b4bb0e2d999037a25f65a7cb?d=identicon&s=25 Heesob Park (phasis)
on 2013-10-23 09:34
(Received via mailing list)
Issue #9044 has been updated by phasis68 (Heesob Park).


Yes, Visual C++ in Visual Studio 2013 have been added some C99 library
support.

Refer to
http://msdn.microsoft.com/en-US/library/hh409293.aspx
http://blogs.msdn.com/b/vcblog/archive/2013/07/19/...
----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42558

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-10-23 10:03
(Received via mailing list)
Issue #9044 has been updated by nobu (Nobuyoshi Nakada).


Thank you.

I'm not sure how INFINITY is defined, any negative INFINITY constant is
defined?
----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42559

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
666b4e17b4bb0e2d999037a25f65a7cb?d=identicon&s=25 Heesob Park (phasis)
on 2013-10-23 10:19
(Received via mailing list)
Issue #9044 has been updated by phasis68 (Heesob Park).


Here is a part of math.h

#ifndef _HUGE_ENUF
#define _HUGE_ENUF  1e+300  /* _HUGE_ENUF*_HUGE_ENUF must overflow */
#endif /* _HUGE_ENUF */

#define INFINITY   ((float)(_HUGE_ENUF * _HUGE_ENUF))  /* causes warning
C4756: overflow in constant arithmetic (by design) */
#define HUGE_VALD  ((double)INFINITY)
#define HUGE_VALF  ((float)INFINITY)
#define HUGE_VALL  ((long double)INFINITY)
#define NAN        ((float)(INFINITY * 0.0F))

----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42561

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-10-23 15:52
(Received via mailing list)
Issue #9044 has been updated by nobu (Nobuyoshi Nakada).

% Done changed from 100 to 50


----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42569

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: cruby-windows
Category: core
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-10-23 15:52
(Received via mailing list)
Issue #9044 has been updated by nobu (Nobuyoshi Nakada).

Category set to core
Status changed from Closed to Assigned
Assignee set to cruby-windows
Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: REQUIRED,
2.0.0: REQUIRED

"by design"!?
----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42568

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: cruby-windows
Category: core
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2013-10-23 16:05
(Received via mailing list)
Issue #9044 has been updated by nobu (Nobuyoshi Nakada).


Does this suppress INFINITY warnings?

diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 979e73b..5d04e9c 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -355,6 +355,20 @@ extern FILE *rb_w32_fsopen(const char *, const char
*, int);
 #endif

 #include <float.h>
+
+#if defined _MSC_VER && _MSC_VER >= 1800 && defined INFINITY
+#pragma warning(push)
+#pragma warning(disable:4756)
+static inline float
+rb_infinity(void)
+{
+    return INFINITY;
+}
+#pragma warning(pop)
+#undef INFINITY
+#define INFINITY rb_infinity
+#endif
+
 #if !defined __MINGW32__ || defined __NO_ISOCEXT
 #ifndef isnan
 #define isnan(x) _isnan(x)

----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42571

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: cruby-windows
Category: core
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
666b4e17b4bb0e2d999037a25f65a7cb?d=identicon&s=25 Heesob Park (phasis)
on 2013-10-23 16:46
(Received via mailing list)
Issue #9044 has been updated by phasis68 (Heesob Park).


The revision 43398 has a bug.

!if $(RT_VER) >= 1200
should be
!if $(RT_VER) >= 120

And the above path has a bug.

#define INFINITY rb_infinity
should be
#define INFINITY rb_infinity()

After applying revision 43398 and the above patch, only one warning
remains.

math.c(482) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'

The line 504 of math.h is
_CRTIMP double __cdecl log2(_In_ double _X);


----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42572

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: cruby-windows
Category: core
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
5cf8f058a4c094bb708174fb43e7a387?d=identicon&s=25 nagachika (Tomoyuki Chikanaga) (Guest)
on 2013-11-11 14:31
(Received via mailing list)
Issue #9044 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 1.9.3: REQUIRED, 2.0.0: REQUIRED to 1.9.3:
REQUIRED, 2.0.0: DONE

r43398, r43407, r43408, r43417 are backported to ruby_2_0_0 at r43648.
----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-42865

Author: phasis68 (Heesob Park)
Status: Closed
Priority: Normal
Assignee: cruby-windows
Category: core
Target version:
ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
Backport: 1.9.3: REQUIRED, 2.0.0: DONE


While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.
8cbb39dadafaf2287a83a13ee4981ec9?d=identicon&s=25 unknown (Guest)
on 2014-01-29 06:16
(Received via mailing list)
Issue #9044 has been updated by Usaku NAKAMURA.

Backport changed from 1.9.3: REQUIRED, 2.0.0: DONE to 1.9.3: DONE,
2.0.0: DONE

backported into ruby_1_9_3 at r44743.

----------------------------------------
Bug #9044: Too many warnings with VC 2013
https://bugs.ruby-lang.org/issues/9044#change-44683

* Author: Heesob Park
* Status: Closed
* Priority: Normal
* Assignee: cruby-windows
* Category: core
* Target version:
* ruby -v: ruby 2.1.0dev (2013-10-23 trunk 43392) [i386-mswin32_120]
* Backport: 1.9.3: DONE, 2.0.0: DONE
----------------------------------------
While building with Visual Studio Express 2013 on Windows 7, I can see
many warnings like inconsistent dll linkage and overflow in constant
arithmetic.

Here is a part of warnings.

C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73) : warning C4273:
'acosh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(475) : see previous definition of 'acosh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(74) : warning C4273:
'asinh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(477) : see previous definition of 'asinh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(75) : warning C4273:
'atanh' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(479) : see previous definition of 'atanh'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(91) : warning C4273:
'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(516) : see previous definition of 'round'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(113) : warning C4273:
'erf' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(486) : see previous definition of 'erf'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(114) : warning C4273:
'erfc' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(487) : see previous definition of 'erfc'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(118) : warning C4273:
'tgamma' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(524) : see previous definition of 'tgamma'
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(126) : warning C4273:
'cbrt' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(482) : see previous definition of 'cbrt'
math.c(381) : warning C4056: overflow in floating-point constant
arithmetic
math.c(463) : warning C4056: overflow in floating-point constant
arithmetic
math.c(478) : warning C4273: 'log2' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE\math.h(504) : see previous definition of 'log2'
math.c(523) : warning C4056: overflow in floating-point constant
arithmetic
math.c(565) : warning C4056: overflow in floating-point constant
arithmetic
c:\work\ruby-2.1.0-r43392\math.c(381) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(382) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(463) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(565) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(867) : warning C4756: overflow in
constant arithmetic
c:\work\ruby-2.1.0-r43392\math.c(523) : warning C4756: overflow in
constant arithmetic

I attached the whole nmake log.


---Files--------------------------------
make.log (192 KB)
This topic is locked and can not be replied to.