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

UBERSWITCH_ALLOW_NESTING has to be defined as 0 for successful build #1

Open
haowan-vincent opened this issue Aug 2, 2024 · 1 comment

Comments

@haowan-vincent
Copy link

included into android project as part of the native code, tried to build but get error saying duplicate case value '0'. scanned the code with AI, it says it has something to do with the counter mechanism used to generate unique case labels which is not functioning correctly, leading to duplicate case values. This could happen if the counter is not properly incremented or if there's an issue with the macro expansion.

alter the macro nesting value from 1 to 0. build finishes without error

@falemagn
Copy link
Owner

falemagn commented Aug 2, 2024

Which compiler (including the version) have you used?

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