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

Fix compilation warnings #trivial #1132

Merged
merged 4 commits into from
Sep 20, 2018
Merged

Fix compilation warnings #trivial #1132

merged 4 commits into from
Sep 20, 2018

Conversation

ejensen
Copy link
Contributor

@ejensen ejensen commented Sep 19, 2018

This PR addresses a number of warnings. No functional changes are intended.

clang: warning: argument unused during compilation: '-fno-objc-arc-exceptions' [-Wunused-command-line-argument]

ASViewController.mm:40:23: Convenience initializer should not invoke an initializer on 'super'

Instance method 'methodOverrides' in category from _ASDisplayView.o overrides method from class in ASDisplayNode.o

@@ -80,6 +80,11 @@ @implementation ASDisplayNode

static std::atomic_bool storesUnflattenedLayouts = ATOMIC_VAR_INIT(NO);

- (ASDisplayNodeMethodOverrides)methodOverrides
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should put this method near other setters/getters (maybe here?). What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. It has been moved

Eric Jensen added 4 commits September 19, 2018 13:29
clang: warning: argument unused during compilation: '-fno-objc-arc-exceptions' [-Wunused-command-line-argument]
Instance method 'methodOverrides' in category from _ASDisplayView.o overrides method from class in ASDisplayNode.o
@ejensen ejensen changed the title Fix compilation warnings Fix compilation warnings #trivial Sep 20, 2018
@Adlai-Holler Adlai-Holler merged commit 696f344 into TextureGroup:master Sep 20, 2018
@ejensen ejensen deleted the fix-warnings branch September 21, 2018 00:08
mikezucc pushed a commit to mikezucc/Texture that referenced this pull request Oct 2, 2018
* Apply recommended warnings

* Squelch designated initializer warning in ASViewController

* Remove unused compiler flag

clang: warning: argument unused during compilation: '-fno-objc-arc-exceptions' [-Wunused-command-line-argument]

* Fix warning about overriding an instance variable within a category

Instance method 'methodOverrides' in category from _ASDisplayView.o overrides method from class in ASDisplayNode.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants