Skip to content

Commit

Permalink
allow deprecated declarations on non-msvc targets
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Feb 26, 2018
1 parent d3a5248 commit a24ccd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,8 @@ impl TestGenerator {
} else {
cfg.flag("-Wall").flag("-Wextra").flag("-Werror")
.flag("-Wno-unused-parameter")
.flag("-Wno-type-limits");
.flag("-Wno-type-limits")
.flag("-Wno-deprecated-declarations"); // allow deprecated items
}

for flag in self.flags.iter() {
Expand Down

0 comments on commit a24ccd2

Please sign in to comment.