1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/Makefile.sub (WARNFLAGS): warning 4996 is only in VC++8 or

later.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2009-03-12 13:31:11 +00:00
parent a69f46bc2b
commit 61c216748c
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Mar 12 22:29:36 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (WARNFLAGS): warning 4996 is only in VC++8 or
later.
Thu Mar 12 22:14:01 2009 Tanaka Akira <akr@fsij.org> Thu Mar 12 22:14:01 2009 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because * ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because

View file

@ -159,7 +159,11 @@ RUNTIMEFLAG = -MD
COMPILERFLAG = -Zm600 COMPILERFLAG = -Zm600
!endif !endif
!if !defined(WARNFLAGS) !if !defined(WARNFLAGS)
!if $(MSC_VER) >= 1400
WARNFLAGS = -W2 -wd4996 WARNFLAGS = -W2 -wd4996
!else
WARNFLAGS = -W2
!endif
!endif !endif
!if !defined(CFLAGS) !if !defined(CFLAGS)
CFLAGS = $(RUNTIMEFLAG) $(DEBUGFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG) $(COMPILERFLAG) CFLAGS = $(RUNTIMEFLAG) $(DEBUGFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG) $(COMPILERFLAG)