Issue #5459 has been reported by Nikolai Weibull.

----------------------------------------
Bug #5459: Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf
http://redmine.ruby-lang.org/issues/5459

Author: Nikolai Weibull
Status: Open
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