Project

General

Profile

Actions

Bug #1285

closed

Fix Compiler Warnings - iseq and insns

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

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

Description

=begin
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
=end


Files

iseq.patch (579 Bytes) iseq.patch cfis (Charlie Savage), 03/13/2009 05:23 PM
insns.patch (931 Bytes) insns.patch cfis (Charlie Savage), 03/13/2009 05:23 PM
Actions #1

Updated by yugui (Yuki Sonoda) over 15 years ago

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

=begin

=end

Actions #2

Updated by mame (Yusuke Endoh) over 14 years ago

  • Status changed from Open to Feedback

=begin
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 :

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
=end

Actions #3

Updated by mame (Yusuke Endoh) over 14 years ago

  • Status changed from Feedback to Closed

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0