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

Enable GCC_WARN_ABOUT_MISSING_NEWLINE on project level and fix two warnings #104

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
2 changes: 2 additions & 0 deletions KissXML.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
Expand Down Expand Up @@ -565,6 +566,7 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
Expand Down
2 changes: 1 addition & 1 deletion KissXML/Additions/DDXMLElementAdditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ NS_ASSUME_NONNULL_BEGIN
- (NSDictionary<NSString*,NSString*> *)attributesAsDictionary;

@end
NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_END
1 change: 0 additions & 1 deletion KissXML/DDXMLNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -2935,4 +2935,3 @@ - (NSArray *)objectsForXQuery:(NSString *)xquery error:(NSError **)error {
}

@end

1 change: 0 additions & 1 deletion KissXML/KissXML.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@

FOUNDATION_EXPORT double KissXMLVersionNumber;
FOUNDATION_EXPORT const unsigned char KissXMLVersionString[];