Project

General

Profile

Actions

Bug #1320

closed

sdbm.c compiler warnings

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

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

Description

=begin
A couple of compiler warnings are still left in sdbm extension:

cl -nologo -I. -I../../.ext/include/i386-mswin32_90 -I../.././../include -I../.././../ext/sdbm -nologo -MDd -Zi -RTC1 -W3 -wd4996 -Od -Zm600 -DRUBY_EXTCONF_H="extconf.h" -I. -I./.. -I./../missing
-IC:\Development\msvc\include -Fo_sdbm.obj -c -Tc../.././../ext/sdbm/_sdbm.c _sdbm.c

../.././../ext/sdbm/_sdbm.c(207) : warning C4133: 'function' : incompatible types - from '_stat64 *' to 'stat *'

../.././../ext/sdbm/_sdbm.c(214) : warning C4244: '=' : conversion from '__int64' to 'long', possible loss of data
=end

Actions #1

Updated by yugui (Yuki Sonoda) over 14 years ago

  • Priority changed from Normal to 3
  • Target version changed from 1.9.1 to 1.9.2

=begin

=end

Actions #2

Updated by yugui (Yuki Sonoda) over 14 years ago

  • Assignee set to matz (Yukihiro Matsumoto)

=begin

=end

Actions #3

Updated by usa (Usaku NAKAMURA) almost 14 years ago

  • Status changed from Open to Closed

=begin
can't reproduce with VC9 and r27729.
maybe already fixed.
=end

Actions #4

Updated by nobu (Nobuyoshi Nakada) almost 14 years ago

  • Status changed from Closed to Open

=begin
It needs -W3 option to reproduce.
=end

Actions #5

Updated by nobu (Nobuyoshi Nakada) almost 14 years ago

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

=begin
This issue was solved with changeset r27730.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0