Skip to content

Commit

Permalink
Remove unsafeFlags use and disable fyaml warnings in header
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubb committed Jan 16, 2023
1 parent ab550bb commit 6aaad83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions Sources/Cfyaml/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,5 @@

/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */

#pragma clang diagnostic ignored "-Wconversion"

0 comments on commit 6aaad83

Please sign in to comment.