Don't warn for implicit fallthroughs
This is the result of Ragel output which we can't control.
This commit is contained in:
parent
8dc2318020
commit
8282325569
|
@ -1,7 +1,7 @@
|
|||
require 'mkmf'
|
||||
|
||||
if RbConfig::CONFIG['CC'] =~ /clang|gcc/
|
||||
$CFLAGS << ' -pedantic'
|
||||
$CFLAGS << ' -pedantic -Wno-implicit-fallthrough'
|
||||
end
|
||||
|
||||
if ENV['DEBUG']
|
||||
|
|
Loading…
Reference in New Issue