Skip to content

Commit

Permalink
disable -Wno-atimport-in-framework-header as configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jun 12, 2020
1 parent 5427846 commit 858450d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion Configurations/ProjectSettings.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN_CLANG_STATIC_ANALYZER = YES

GCC_PREPROCESSOR_DEFINITIONS = $(inherited)

WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability
WARNING_CFLAGS = $(inherited) -Weverything -Wno-objc-missing-property-synthesis -Wno-unused-macros -Wno-disabled-macro-expansion -Wno-gnu-statement-expression -Wno-language-extension-token -Wno-overriding-method-mismatch -Wno-missing-variable-declarations -Rno-module-build -Wno-auto-import -Wno-objc-interface-ivars -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-unused-parameter -Wno-gnu-conditional-omitted-operand -Wno-explicit-ownership-type -Wno-date-time -Wno-cast-align -Wno-cstring-format-directive -Wno-double-promotion -Wno-partial-availability -Wno-atimport-in-framework-header
4 changes: 0 additions & 4 deletions WebDriverAgentLib/Routing/FBTCPSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif

#import <CocoaAsyncSocket/GCDAsyncSocket.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down
5 changes: 0 additions & 5 deletions WebDriverAgentLib/Vendor/CocoaHTTPServer/HTTPConnection.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
#import "DDNumber.h"
#import "DDRange.h"
#import "HTTPLogging.h"

#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif

#import <CocoaAsyncSocket/GCDAsyncSocket.h>

#if ! __has_feature(objc_arc)
Expand Down
5 changes: 0 additions & 5 deletions WebDriverAgentLib/Vendor/CocoaHTTPServer/HTTPServer.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#import "HTTPServer.h"
#import "HTTPConnection.h"
#import "HTTPLogging.h"

#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif

#import <CocoaAsyncSocket/GCDAsyncSocket.h>

#if ! __has_feature(objc_arc)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ FOUNDATION_EXPORT const unsigned char RoutingHTTPServerVersionString[];
#import "RouteResponse.h"
#import "RouteRequest.h"
#import "RoutingConnection.h"

#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif

#import <CocoaAsyncSocket/GCDAsyncSocket.h>

typedef void (^RequestHandler)(RouteRequest *request, RouteResponse *response);
Expand Down

0 comments on commit 858450d

Please sign in to comment.