mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mkmf.rb: suppress warnings
* lib/mkmf.rb (try_func): suppress implicit-function-declaration warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c5f42a90a
commit
db577345ca
1 changed files with 1 additions and 0 deletions
|
@ -775,6 +775,7 @@ SRC
|
|||
/*top*/
|
||||
extern int t(void);
|
||||
#{MAIN_DOES_NOTHING 't'}
|
||||
#{"extern void #{call};" if decltype}
|
||||
int t(void) { #{call}; return 0; }
|
||||
SRC
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue