diff --git a/ext/c/extconf.rb b/ext/c/extconf.rb index 36275ae..34fbac6 100644 --- a/ext/c/extconf.rb +++ b/ext/c/extconf.rb @@ -1,7 +1,7 @@ require 'mkmf' if RbConfig::CONFIG['CC'] =~ /clang|gcc/ - $CFLAGS << ' -pedantic' + $CFLAGS << ' -pedantic -Wno-implicit-fallthrough' end if ENV['DEBUG']