Ignore some more C++ warnings
Fix the compilation of the C++ files.
This commit is contained in:
parent
f5f4ab3c57
commit
92d9c36c31
3
build.rs
3
build.rs
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue