diff --git a/Package.swift b/Package.swift index bfde06d42..e5537a52a 100644 --- a/Package.swift +++ b/Package.swift @@ -70,8 +70,7 @@ let package = Package( .headerSearchPath("src/lib"), .headerSearchPath("src/valgrind"), .headerSearchPath("src/xxhash"), - .define("HAVE_CONFIG_H"), - .unsafeFlags(["-w"]) + .define("HAVE_CONFIG_H") ] ), .target( diff --git a/Sources/Cfyaml/config.h b/Sources/Cfyaml/config.h index 2e683640f..e9c4c6601 100644 --- a/Sources/Cfyaml/config.h +++ b/Sources/Cfyaml/config.h @@ -239,3 +239,5 @@ /* Define to `int' if doesn't define. */ /* #undef uid_t */ + +#pragma clang diagnostic ignored "-Wconversion"