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

Cannot compile TangramDemo in Release in XCode 13.4.1 #2327

Open
rwrx opened this issue Jun 29, 2022 · 2 comments
Open

Cannot compile TangramDemo in Release in XCode 13.4.1 #2327

rwrx opened this issue Jun 29, 2022 · 2 comments

Comments

@rwrx
Copy link
Contributor

rwrx commented Jun 29, 2022

When I try to run run TangramDemo app in Release mode in latest XCode 13.4.1 it cannot compile it showing error "Variable 'status_and' set but not used" in file hb-coretext.cc on line 860 in harfbuzz dependency. This error is in fact correct as this variable is used only in assert which is not compiled in Release mode if I understand it correctly. I have tried to disable "Unused Variables" checks in Build Settings for Apple CLang, but it does not helped.

@liodali
Copy link

liodali commented Oct 18, 2023

I'm facing the same issue
did you find any solution for that ?

@rwrx
Copy link
Contributor Author

rwrx commented Oct 20, 2023

@liodali I have tried to find some compiler flags to disable this error, but with no luck. Then I simply commented out declaration of variable status_and and also commented out all its usages in the code. At least it can be compiled.

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

2 participants