Skip to content

Commit b910de6

Browse files
nobumatzbot
authored andcommitted
[ruby/date] Suppress compound-token-split-by-macro warnings
It was used intentionally. ruby/date@291b40f939
1 parent ad773b5 commit b910de6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/date/extconf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
config_string("strict_warnflags") {|w| $warnflags += " #{w}"}
55

6+
append_cflags("-Wno-compound-token-split-by-macro") if RUBY_VERSION < "2.7."
67
have_func("rb_category_warn")
78
with_werror("", {:werror => true}) do |opt, |
89
have_var("timezone", "time.h", opt)

0 commit comments

Comments
 (0)