Skip to content

Commit

Permalink
Use -Wno-enum-conversion to silence warnings during build of Capstone
Browse files Browse the repository at this point in the history
  • Loading branch information
clubby789 authored and tmfink committed Apr 11, 2022
1 parent b46634a commit 0202ebb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions capstone-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ fn build_capstone_cc() {
.flag_if_supported("-Wno-return-type")
.flag_if_supported("-Wno-implicit-fallthrough")
.flag_if_supported("-Wno-missing-field-initializers")
.flag_if_supported("-Wno-enum-conversion")
.static_crt(use_static_crt)
.compile("capstone");
}
Expand Down

0 comments on commit 0202ebb

Please sign in to comment.