Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced warnings when ARC was not enabled with errors #284

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lumberjack/DDASLLogger.m
Expand Up @@ -13,7 +13,7 @@
**/

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

static DDASLLogger *sharedInstance;
Expand Down
2 changes: 1 addition & 1 deletion Lumberjack/DDAbstractDatabaseLogger.m
Expand Up @@ -12,7 +12,7 @@
**/

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

@interface DDAbstractDatabaseLogger ()
Expand Down
2 changes: 1 addition & 1 deletion Lumberjack/DDFileLogger.m
Expand Up @@ -16,7 +16,7 @@
**/

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

// We probably shouldn't be using DDLog() statements within the DDLog implementation.
Expand Down
2 changes: 1 addition & 1 deletion Lumberjack/DDLog.m
Expand Up @@ -22,7 +22,7 @@
**/

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

// We probably shouldn't be using DDLog() statements within the DDLog implementation.
Expand Down
2 changes: 1 addition & 1 deletion Lumberjack/DDTTYLogger.m
Expand Up @@ -14,7 +14,7 @@
**/

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

// We probably shouldn't be using DDLog() statements within the DDLog implementation.
Expand Down
2 changes: 1 addition & 1 deletion Lumberjack/Extensions/DDContextFilterLogFormatter.m
Expand Up @@ -12,7 +12,7 @@
**/

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif

@interface DDLoggingContextSet : NSObject
Expand Down
2 changes: 1 addition & 1 deletion Lumberjack/Extensions/DDDispatchQueueLogFormatter.m
Expand Up @@ -12,7 +12,7 @@
**/

#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif


Expand Down
5 changes: 5 additions & 0 deletions Lumberjack/Extensions/DDMultiFormatter.m
Expand Up @@ -27,6 +27,11 @@
#endif


#if ! __has_feature(objc_arc)
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif


@interface DDMultiFormatter ()

- (DDLogMessage *)logMessageForLine:(NSString *)line originalMessage:(DDLogMessage *)message;
Expand Down