Skip to content

Commit

Permalink
Suppress compound-token-split-by-macro warnings
Browse files Browse the repository at this point in the history
It was used intentionally.
  • Loading branch information
nobu committed Nov 29, 2024
1 parent d68be4d commit 291b40f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/date/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

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

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

0 comments on commit 291b40f

Please sign in to comment.