Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CocoaPods warnings + commit Sparkle directly because CocoaPods is…
… just terrible
- Loading branch information
Showing
209 changed files
with
6,517 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// DeprecationSilencers.h | ||
// SelfControl | ||
// | ||
// Created by Charlie Stigler on 1/19/21. | ||
// | ||
|
||
#ifndef DeprecationSilencers_h | ||
#define DeprecationSilencers_h | ||
|
||
// great idea taken from this guy: https://stackoverflow.com/a/26564750 | ||
|
||
#define SILENCE_DEPRECATION(expr) \ | ||
do { \ | ||
_Pragma("clang diagnostic push") \ | ||
_Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"") \ | ||
expr; \ | ||
_Pragma("clang diagnostic pop") \ | ||
} while(0) | ||
|
||
#define SILENCE_OSX10_10_DEPRECATION(expr) SILENCE_DEPRECATION(expr) | ||
|
||
#endif /* DeprecationSilencers_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.