Issue #5459 has been updated by Nobuyoshi Nakada.


Generic notes:

* Use the latest version.
* Don't make a patch from installed files.
* Don't overwrite conflicts blindly.
----------------------------------------
Bug #5459: Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf
http://redmine.ruby-lang.org/issues/5459

Author: Nikolai Weibull
Status: Closed
Priority: Normal
Assignee: 
Category: lib
Target version: 
ruby -v: ruby 1.9.3dev (2011-09-13 revision 33263) [i386-mingw32]


The attached patch silences -Wmissing-declarations and -Wold-style-definition warnings in c files generated by mkmf.  This is required, as mkmf uses $CFLAGS when running the c compiler on the generated c files.


-- 
http://redmine.ruby-lang.org