ext/rbs_extension/extconf.rb in rbs-2.2.2 vs ext/rbs_extension/extconf.rb in rbs-2.3.0
- old
+ new
@@ -1,4 +1,4 @@
require 'mkmf'
$INCFLAGS << " -I$(top_srcdir)" if $extmk
-$CFLAGS += " -std=c99 "
+$CFLAGS += " -std=c99 -Wold-style-definition"
create_makefile 'rbs_extension'