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'
|
require 'mkmf'
|
||||||
|
|
||||||
if RbConfig::CONFIG['CC'] =~ /clang|gcc/
|
if RbConfig::CONFIG['CC'] =~ /clang|gcc/
|
||||||
$CFLAGS << ' -pedantic'
|
$CFLAGS << ' -pedantic -Wno-implicit-fallthrough'
|
||||||
end
|
end
|
||||||
|
|
||||||
if ENV['DEBUG']
|
if ENV['DEBUG']
|
||||||
|
|
Loading…
Reference in New Issue