mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-26 20:42:01 +03:00
Remove Warnings in C
Annotating param with __attribute__((unused)) is not supported in windows build
This commit is contained in:
parent
61f3791bdb
commit
b82e925ce7
@ -6,5 +6,6 @@ fn main() {
|
|||||||
let native_src = project_root.join("native");
|
let native_src = project_root.join("native");
|
||||||
Build::new()
|
Build::new()
|
||||||
.file(native_src.join("libxml.c"))
|
.file(native_src.join("libxml.c"))
|
||||||
|
.flag_if_supported("-Wno-unused-parameter") // unused parameter in silent callback
|
||||||
.compile("mylib");
|
.compile("mylib");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user