Skip to content

Commit

Permalink
Merge pull request #29 from outfoxx/fix/unsafe-flags
Browse files Browse the repository at this point in the history
Remove unsafeFlags use and disable fyaml warnings in header
  • Loading branch information
kdubb authored Jan 16, 2023
2 parents ab550bb + 6aaad83 commit ca9dd8c
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 ca9dd8c

Please sign in to comment.