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

ARC support? #26

Open
fuggly opened this issue Mar 29, 2012 · 6 comments
Open

ARC support? #26

fuggly opened this issue Mar 29, 2012 · 6 comments
Milestone

Comments

@fuggly
Copy link

fuggly commented Mar 29, 2012

Hiyas

I don't think this can be considered an issue, but is it planned to support ARC in the future? The problem is, that even in a project where ARC is enabled and PdfKitten is excluded, a project still doesn't compile because of things like NSMutableString** rawTextContent (Scanner.h) for example. Every ARC enabled project gets freaky when it should compile this class (even if PdfKitten is excluded).

@KurtCode
Copy link
Owner

That particular variable is going away soon, because it didn't do what I thought it would.

Are there any other ways compiling with ARC breaks? I suppose we will use ARC in the future, but at the very least Kitten should be compatible with an ARC environment.

@fuggly
Copy link
Author

fuggly commented Mar 30, 2012

As far as I can say, there's only the double pointers, but I think they appear in other PDFKitten classes as well

@abc-xyz
Copy link

abc-xyz commented Apr 9, 2012

you can switch off ARC for the files of this project:
http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project

@fuggly
Copy link
Author

fuggly commented May 1, 2012

@abc-xyz Yes, I know that, but PdfKitten, at least the version I use, doesn't support ARC and doesn't work with -fobjc-no-arc together either (see my original mail)

@andrewhoyer
Copy link

@fuggly I ran into this same thing -- could not get it to work. Then I discovered: Wrong flag! The one you have mentioned here is incorrect. Using the correct one, -fno-objc-arc, works fine.

@fuggly
Copy link
Author

fuggly commented Jun 12, 2013

@andrewhoyer @KurtCode sorry it took me half a year to respond, but yes, you're right Andrew. PdfKitten compiles fine if I use the correct flags. My bad! Sorry everyone and thanks for all :-)

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

No branches or pull requests

4 participants