Skip to content

Commit

Permalink
Ignore some strict build errors with Xcode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsj committed Nov 9, 2023
1 parent 0ccc9d0 commit 5f2212d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Hammerspoon/Build Configs/Extensions-Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DYLIB_CURRENT_VERSION = 1
EXECUTABLE_PREFIX = lib

// FIXME: Fix up hs.axuielement and remove this line
WARNING_CLAGS = $(inherited) -Wno-tautological-pointer-compare -Wno-bad-function-cast
WARNING_CLAGS = $(inherited) -Wno-tautological-pointer-compare -Wno-bad-function-cast -Wno-deprecated-non-prototype

// Don't try and install the library in /usr/local/lib when archiving/exporting
SKIP_INSTALL = YES
2 changes: 1 addition & 1 deletion Hammerspoon/Build Configs/Project-Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ONLY_ACTIVE_ARCH = YES
// Debug Information Format
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
// Other Warning Flags
WARNING_CFLAGS = -Wno-cstring-format-directive -Wno-padded -Wno-objc-missing-property-synthesis -Wno-auto-import -Wno-gnu-statement-expression -Wno-reserved-id-macro -Wno-gnu-zero-variadic-macro-arguments -Wno-objc-messaging-id
WARNING_CFLAGS = -Wno-cstring-format-directive -Wno-padded -Wno-objc-missing-property-synthesis -Wno-auto-import -Wno-gnu-statement-expression -Wno-reserved-id-macro -Wno-gnu-zero-variadic-macro-arguments -Wno-objc-messaging-id -Wno-declaration-after-statement -Wno-deprecated-non-prototype
// Other Linker Flags
OTHER_LDFLAGS = -undefined dynamic_lookup
// Enable Testability
Expand Down
2 changes: 1 addition & 1 deletion LuaSkin/LuaSkin-Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ GCC_NO_COMMON_BLOCKS = YES
GCC_SYMBOLS_PRIVATE_EXTERN = NO

// Other Warning Flags
WARNING_CFLAGS = -Weverything -Wno-cstring-format-directive -Wno-padded -Wno-auto-import -Wno-missing-variable-declarations -Wno-objc-missing-property-synthesis -Wno-cast-qual -Wno-gnu-zero-variadic-macro-arguments -Wno-objc-messaging-id
WARNING_CFLAGS = -Weverything -Wno-cstring-format-directive -Wno-padded -Wno-auto-import -Wno-missing-variable-declarations -Wno-objc-missing-property-synthesis -Wno-cast-qual -Wno-gnu-zero-variadic-macro-arguments -Wno-objc-messaging-id -Wno-declaration-after-statement

// C Language Dialect
GCC_C_LANGUAGE_STANDARD = gnu99
Expand Down

0 comments on commit 5f2212d

Please sign in to comment.