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

Finally blocks cause an internal compiler error #354

Closed
PooyaZv opened this issue Feb 18, 2016 · 0 comments
Closed

Finally blocks cause an internal compiler error #354

PooyaZv opened this issue Feb 18, 2016 · 0 comments
Assignees

Comments

@PooyaZv
Copy link

PooyaZv commented Feb 18, 2016

By default -g (debug information enabled) is passed to the compiler, which causes an internal compiler error when used in conjunction with finallys.

For a workaround, please add -gtable-lines-only to the clang command line (Project > Properties > Clang > Command line > Additional options). You may need to disable ARC as well (See #160).

@PooyaZv PooyaZv changed the title Finally blocks cause an internal compiler error when used Finally blocks cause an internal compiler error Feb 25, 2016
@PooyaZv PooyaZv self-assigned this Jun 1, 2016
@PooyaZv PooyaZv added Fixed and removed Under Review labels Jun 1, 2016
@PooyaZv PooyaZv closed this as completed Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants