ruby-changes:38846
From: nobu <ko1@a...>
Date: Wed, 17 Jun 2015 09:46:52 +0900 (JST)
Subject: [ruby-changes:38846] nobu:r50927 (trunk): mkmf.rb: suppress warnings
nobu 2015-06-17 09:46:30 +0900 (Wed, 17 Jun 2015) New Revision: 50927 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50927 Log: mkmf.rb: suppress warnings * lib/mkmf.rb (try_func): suppress implicit-function-declaration warnings. Modified files: trunk/lib/mkmf.rb Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 50926) +++ lib/mkmf.rb (revision 50927) @@ -775,6 +775,7 @@ SRC https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L775 /*top*/ extern int t(void); #{MAIN_DOES_NOTHING 't'} +#{"extern void #{call};" if decltype} int t(void) { #{call}; return 0; } SRC end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/