mirror of
https://github.com/ruby/ruby.git
synced 2026-07-31 09:25:15 +08:00
On mswin, config.status did not contain warnflags, so RbConfig::CONFIG["warnflags"] returned nil. Extensions that modify warnflags in extconf.rb, such as oj and ox, failed with NoMethodError. Define it from WARNFLAGS as on other platforms. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>