Skip to content

Commit

Permalink
Merge pull request #28 from gnzlbg/deprecated
Browse files Browse the repository at this point in the history
allow deprecated declarations on non-msvc targets
  • Loading branch information
alexcrichton committed Feb 26, 2018
2 parents d3a5248 + a24ccd2 commit 954f493
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 954f493

Please sign in to comment.