Don't warn for implicit fallthroughs

This is the result of Ragel output which we can't control.
This commit is contained in:
Yorick Peterse 2017-06-17 13:46:59 +02:00
parent 8dc2318020
commit 8282325569
No known key found for this signature in database
GPG Key ID: EDD30D2BEB691AC9
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
require 'mkmf'
if RbConfig::CONFIG['CC'] =~ /clang|gcc/
$CFLAGS << ' -pedantic'
$CFLAGS << ' -pedantic -Wno-implicit-fallthrough'
end
if ENV['DEBUG']