Bug #1285

Fix Compiler Warnings - iseq and insns

Added by cfis (Charlie Savage) about 3 years ago. Updated about 1 year ago.

[ruby-core:22873]
Status:Closed Start date:03/13/2009
Priority:Normal Due date:
Assignee:ko1 (Koichi Sasada) % Done:

0%

Category:core
Target version:1.9.2
ruby -v:ruby 1.9.2dev (2009-03-12) [i386-mswin32_90]

Description

VC 2008, -W3.  The last couple of remaining issues (phew!).

cl -nologo -MDd -Zi -RTC1 -W3 -wd4996 -Od  -Zm600 -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_90 -I./../include -I./.. -I./../missing    -I. -I./.. -I./../missing -DLIBRUBY_SO=\"ruby19.dll\" -IC:\Development\msvc\include -Foiseq.obj -c -Tc./../iseq.c iseq.c
./../iseq.c(944) : warning C4018: '<' : signed/unsigned mismatch
./../iseq.c(1387) : warning C4018: '<' : signed/unsigned mismatch

cl -nologo -MDd -Zi -RTC1 -W3 -wd4996 -Od  -Zm600 -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_90 -I./../include -I./.. -I./../missing    -I. -I./.. -I./../missing -DLIBRUBY_SO=\"ruby19.dll\" -IC:\Development\msvc\include -Fovm.obj -c -Tc./../vm.c vm.c
./../insns.def(118) : warning C4018: '<' : signed/unsigned mismatch
./../insns.def(139) : warning C4018: '<' : signed/unsigned mismatch
./../insns.def(429) : warning C4018: '<' : signed/unsigned mismatch
./../insns.def(657) : warning C4018: '<' : signed/unsigned mismatch

iseq.patch (579 Bytes) cfis (Charlie Savage), 03/13/2009 05:23 pm

insns.patch (931 Bytes) cfis (Charlie Savage), 03/13/2009 05:23 pm

History

Updated by yugui (Yuki Sonoda) almost 3 years ago

  • Assignee set to ko1 (Koichi Sasada)
  • Target version changed from 1.9.1 to 1.9.2

Updated by mame (Yusuke Endoh) about 2 years ago

  • Status changed from Open to Feedback
Hi, Charlie Savage


Could you tell me if this is still reproduced?

Perhaps, all type inconsistency has been fixed after you registered this
ticket, as long as I look your patch (but I did not actually check with
VC).  Sorry for late response.


2009/3/13 Charlie Savage <redmine@ruby-lang.org>:
> Bug #1285: Fix Compiler Warnings - iseq and insns
> http://redmine.ruby-lang.org/issues/show/1285
>
> Author: Charlie Savage
> Status: Open, Priority: Normal
> Category: core, Target version: 1.9.1
> ruby -v: ruby 1.9.2dev (2009-03-12) [i386-mswin32_90]
>
> VC 2008, -W3. ?The last couple of remaining issues (phew!).
>
> cl -nologo -MDd -Zi -RTC1 -W3 -wd4996 -Od ?-Zm600 -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_90 -I./../include -I./.. -I./../missing ? ?-I. -I./.. -I./../missing -DLIBRUBY_SO=\"ruby19.dll\" -IC:\Development\msvc\include -Foiseq.obj -c -Tc./../iseq.c iseq.c
> ./../iseq.c(944) : warning C4018: '<' : signed/unsigned mismatch
> ./../iseq.c(1387) : warning C4018: '<' : signed/unsigned mismatch
>
> cl -nologo -MDd -Zi -RTC1 -W3 -wd4996 -Od ?-Zm600 -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_90 -I./../include -I./.. -I./../missing ? ?-I. -I./.. -I./../missing -DLIBRUBY_SO=\"ruby19.dll\" -IC:\Development\msvc\include -Fovm.obj -c -Tc./../vm.c vm.c
> ./../insns.def(118) : warning C4018: '<' : signed/unsigned mismatch
> ./../insns.def(139) : warning C4018: '<' : signed/unsigned mismatch
> ./../insns.def(429) : warning C4018: '<' : signed/unsigned mismatch
> ./../insns.def(657) : warning C4018: '<' : signed/unsigned mismatch

-- 
Yusuke ENDOH <mame@tsg.ne.jp>

Updated by mame (Yusuke Endoh) about 2 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF