Skip to content

Commit

Permalink
Add -Wno-incompatible-pointer-types flag when building C code
Browse files Browse the repository at this point in the history
This fixes a warning on the latest Clang, which would otherwise
fail the build
  • Loading branch information
Aaron1011 committed May 19, 2024
1 parent 52bdd94 commit db88651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ fn main() {
.flag_if_supported("-Wno-parentheses")
.flag_if_supported("-Wno-misleading-indentation")
.flag_if_supported("-Wno-unused-but-set-variable")
.flag_if_supported("-Wno-incompatible-pointer-types")
.opt_level(2);

let target = std::env::var("TARGET").unwrap();
Expand Down

0 comments on commit db88651

Please sign in to comment.