Skip to content

Commit

Permalink
Ignore warned variables
Browse files Browse the repository at this point in the history
To suppress warnings at the compilation time.
  • Loading branch information
nobu committed Sep 9, 2021
1 parent d142494 commit ff21132
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ext/date/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

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

have_var("timezone", "time.h")
have_var("altzone", "time.h")
with_werror("", {:werror => true}) do |opt, |
have_var("timezone", "time.h", opt)
have_var("altzone", "time.h", opt)
end

create_makefile('date_core')

0 comments on commit ff21132

Please sign in to comment.