Skip to content

Commit

Permalink
Fix build issues due to macOS 13.3 SDK changes (#1110)
Browse files Browse the repository at this point in the history
* Fix minor build issues due to changes in the macOS 13.3 SDK

* Disable -Wunknown-warning-option
  • Loading branch information
mlw authored Jun 21, 2023
1 parent 1e92d10 commit e73bafb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions Source/santad/EventProviders/EndpointSecurity/ClientTest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e73bafb

Please sign in to comment.