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

Use a template variable to support module @import syntax #194

Merged
merged 1 commit into from
Apr 7, 2014

Conversation

danielctull
Copy link
Contributor

Without this fix, I get a warning of "treating #import as an import of module 'CoreData' [-Wauto-import]". This change allows you to include the template variable as such: "--template-var modules=true" when running mogenerator to output the imports of CoreData in the new module syntax: @import CoreData;

Without this fix, I get a warning of "treating #import as an import of module 'CoreData' [-Wauto-import]". This change allows you to include the template variable as such: "--template-var modules=true" when running mogenerator to output the imports of CoreData in the new module syntax: @import CoreData;
rentzsch added a commit that referenced this pull request Apr 7, 2014
[NEW] Specify `--template-var modules=true` option to avoid `treating #import as an import of module 'CoreData' [-Wauto-import]" warning`. (Daniel Tull)
@rentzsch rentzsch merged commit d62842d into rentzsch:master Apr 7, 2014
@rentzsch
Copy link
Owner

rentzsch commented Apr 7, 2014

Looks great, thanks again Daniel.

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.

2 participants