Skip to content

Commit

Permalink
Ignore some more C++ warnings
Browse files Browse the repository at this point in the history
Fix the compilation of the C++ files.
  • Loading branch information
jvff committed Oct 5, 2021
1 parent f5f4ab3 commit 92d9c36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ fn main() -> Result<()> {
.flag_if_supported("-Wno-reorder")
.flag_if_supported("-Wno-deprecated-copy")
.flag_if_supported("-Wno-unused-parameter")
.flag_if_supported("-Wno-unused-variable")
.flag_if_supported("-Wno-ignored-qualifiers")
.flag_if_supported("-Wno-sign-compare")
// when compiling using Microsoft Visual C++, ignore warnings about unused arguments
.flag_if_supported("/wd4100")
.define("HAVE_DECL_STRNLEN", "1")
Expand Down

0 comments on commit 92d9c36

Please sign in to comment.