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

win32ole: warning flag

* ext/win32ole/extconf.rb (create_win32ole_makefile): replace or
  append warning flag.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-01-17 08:50:12 +00:00
parent a23469f4b6
commit 03d19637f6

View file

@ -30,6 +30,7 @@ end
case RUBY_PLATFORM
when /mswin/
$CFLAGS += ' /W3'
$CFLAGS.sub!(/((?:\A|\s)[-\/])W\d(?=\z|\s)/, '\1W3') or
$CFLAGS += ' -W3'
end
create_win32ole_makefile