From: Motohiro KOSAKI Date: 2011-10-18T22:12:47+09:00 Subject: [ruby-core:40206] [Ruby 1.9 - Bug #5459] Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf Issue #5459 has been updated by Motohiro KOSAKI. I reviewed your patch. +1 me too. ---------------------------------------- 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