Project

General

Profile

Actions

Bug #1258

closed

Fix callback-7 compiler warnings

Added by cfis (Charlie Savage) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2009-03-06) [i386-mswin32_90]
Backport:
[ruby-core:22792]

Description

=begin
Attached patch fixes mscv2008 compiler warnings for callback-7 in dl extension.

cl -nologo -I. -I../../../.ext/include/i386-mswin32_90 -I../../.././../include -I../../.././../ext/dl/callback -I../../.././../ext/dl/callback/.. -nologo -MD -RTC1 -Zi -Od -W3 -wd4996 -Od -Zm600 -DRUBY_EXTCONF_H="extconf.h" -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -I. -I./.. -I./../missing -IC:\Development\msvc\include -DLIBRUBY_SO="ruby19.dll" -Focallback-7.obj -c -Tccallback-7.c callback-7.c
callback-7.c(16) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(27) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(38) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(49) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(60) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(71) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(82) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(93) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(104) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(115) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(127) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(139) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(151) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(163) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(175) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(188) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(201) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(214) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(227) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(240) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(254) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(268) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(282) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(296) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(310) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(325) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(340) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(355) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(370) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(385) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(401) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(417) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(433) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(449) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(465) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(482) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(499) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(516) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(533) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(550) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(568) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(586) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(604) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(622) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(640) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(659) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(678) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(697) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(716) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(735) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(755) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(775) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(795) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(815) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(835) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(856) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(877) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(898) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(919) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(940) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(962) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(984) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1006) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1028) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1050) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1073) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1096) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1119) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1142) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1165) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1189) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1213) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1237) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1261) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1285) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1310) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1335) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1360) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1385) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1410) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1436) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1462) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1488) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1514) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1540) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1567) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1594) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1621) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1648) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1675) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1703) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1731) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1759) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1787) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1815) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1844) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1873) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1902) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1931) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1960) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1972) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1985) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(1998) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2011) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2024) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2037) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2050) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2063) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2076) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2089) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2103) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2117) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2131) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2145) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2159) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2174) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2189) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2204) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2219) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2234) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2250) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2266) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2282) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2298) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2314) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2331) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2348) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2365) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2382) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2399) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2417) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2435) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2453) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2471) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2489) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2508) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2527) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2546) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2565) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2584) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2604) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2624) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2644) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2664) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2684) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2705) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2726) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2747) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2768) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2789) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2811) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2833) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2855) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2877) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2899) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2922) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2945) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2968) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(2991) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3014) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3038) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3062) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3086) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3110) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3134) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3159) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3184) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3209) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3234) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3259) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3285) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3311) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3337) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3363) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3389) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3416) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3443) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3470) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3497) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3524) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3552) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3580) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3608) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3636) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3664) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3693) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3722) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3751) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3780) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3809) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3839) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3869) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3899) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3929) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3959) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(3990) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(4021) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(4052) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(4083) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
callback-7.c(4114) : warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
=end


Files

mkcallback.patch (408 Bytes) mkcallback.patch cfis (Charlie Savage), 03/10/2009 11:56 AM
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r22875.
=end

Actions

Also available in: Atom PDF

Like0
Like0