Project

General

Profile

Bug #1320

sdbm.c compiler warnings

Added by cfis (Charlie Savage) over 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
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

Also available in: Atom PDF