From db88651220688d2883a90d5477048071507b0493 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Sun, 19 May 2024 17:35:34 -0400 Subject: [PATCH] Add -Wno-incompatible-pointer-types flag when building C code This fixes a warning on the latest Clang, which would otherwise fail the build --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index c0ae30a..dbc448d 100644 --- a/build.rs +++ b/build.rs @@ -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();