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
@ -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…
x
Reference in New Issue
Block a user