Hi,

Sorry, I'd sent this mail in wrong thread.

At Thu, 17 Nov 2011 16:27:27 +0900,
Nikolai Weibull wrote in [ruby-core:41094]:
> An example is that on my system, warnflags includes
> -Wdeclaration-after-statement.  I don”Ēt want this warning, as I use
> -std=c99, which allows such mixing of declarations and statements.
> (It does not matter if -Wdeclaration-after-statement comes before or
> after -std=c99, as I initially thought.)

How do you pass -std option to mkmf?  If you do it in
extconf.rb, you could also override $warnflags together.

>> It's convenient to change just optimizations, debugging, and
>> etc., on the compilation time.
> I don”Ēt follow.  Can you clarify?

Sometimes I need to compile particular sources with different
options temporarily.

-- 
Nobu Nakada