Skip to content

Commit

Permalink
Disable warnings in Triangle
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Oct 15, 2023
1 parent ff45d22 commit d00ba16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ fn main() {
.flag("-Wno-sign-compare")
.flag("-Wno-unused-parameter")
.flag("-Wno-unused-but-set-variable")
.flag("-Wno-maybe-uninitialized")
.compile("c_code_interface_triangle");
cc::Build::new()
.cpp(true)
Expand All @@ -16,6 +17,7 @@ fn main() {
.flag("-Wno-int-to-pointer-cast")
.flag("-Wno-unused-parameter")
.flag("-Wno-unused-but-set-variable")
.flag("-Wno-maybe-uninitialized")
.compile("c_code_interface_tetgen");
}

Expand Down

0 comments on commit d00ba16

Please sign in to comment.