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:
parent
a23469f4b6
commit
03d19637f6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue