[ruby-cvs:57364] nobu:r50215 (trunk): mkmf.rb: fix werror option

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Apr 10 22:29:25 JST 2015


nobu	2015-04-10 22:29:23 +0900 (Fri, 10 Apr 2015)

  New Revision: 50215

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50215

  Log:
    mkmf.rb: fix werror option
    
    * lib/mkmf.rb (try_compile): pass the given werror flag to try_do
      to check if stderr is empty.
    * lib/mkmf.rb (try_cflags, try_ldflags): default werror to true.
    * win32/Makefile.sub (WERRORFLAG): remove useless option.  VC does
      not make warnings of unknown command option an error.

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/extconf.rb
    trunk/lib/mkmf.rb
    trunk/win32/Makefile.sub


More information about the ruby-cvs mailing list