Fix build issues due to macOS 13.3 SDK changes (#1110)

* Fix minor build issues due to changes in the macOS 13.3 SDK

* Disable -Wunknown-warning-option
This commit is contained in:
Matt W
2023-06-21 04:23:55 +02:00
committed by GitHub
parent 1e92d109a7
commit e73bafb596
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,10 @@ build --apple_generate_dsym --define=apple.propagate_embedded_extra_outputs=yes
build --copt=-Werror
build --copt=-Wall
build --copt=-Wno-error=deprecated-declarations
# Disable -Wunknown-warning-option because deprecated-non-prototype
# isn't recognized on older SDKs
build --copt=-Wno-unknown-warning-option
build --copt=-Wno-error=deprecated-non-prototype
build --per_file_copt=.*\.mm\$@-std=c++17
build --cxxopt=-std=c++17

View File

@@ -16,6 +16,8 @@
#import <XCTest/XCTest.h>
#include <dispatch/dispatch.h>
#include <utility>
#include "Source/santad/EventProviders/EndpointSecurity/Client.h"
using santa::santad::event_providers::endpoint_security::Client;