Add comment to describe `/wd4100`
Make it easy to understand what it is without having the reader to look it up. Co-authored-by: teor <teor@riseup.net>
This commit is contained in:
parent
357a8892e7
commit
ba8beb2dc0
1
build.rs
1
build.rs
|
@ -60,6 +60,7 @@ fn main() -> Result<()> {
|
|||
.flag_if_supported("-Wno-reorder")
|
||||
.flag_if_supported("-Wno-deprecated-copy")
|
||||
.flag_if_supported("-Wno-unused-parameter")
|
||||
// when compiling using Microsoft Visual C++, ignore warnings about unused arguments
|
||||
.flag_if_supported("/wd4100")
|
||||
.define("HAVE_DECL_STRNLEN", "1")
|
||||
.define("__STDC_FORMAT_MACROS", None);
|
||||
|
|
Loading…
Reference in New Issue