Ignore some more C++ warnings

Fix the compilation of the C++ files.
This commit is contained in:
Janito Vaqueiro Ferreira Filho 2021-10-05 01:41:47 +00:00
parent f5f4ab3c57
commit 92d9c36c31
1 changed files with 3 additions and 0 deletions

View File

@ -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")