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

chore: suppress -Wdollar-in-identifier-extension compile time warning #2707

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Feb 18, 2025

Description

Variable names prefixed with $ are heavily utilised in codegened code. This leads to a wall of warnings popping up during every Android build. This PR aims to suppress these warnings.

Changes

Added -Wno-dollar-in-identifier-extension compile time flag to react_codegen_rnscreens target.

Test code and steps to reproduce

Clean caches & build fresh Android project with react-native screens.

Checklist

  • Ensured that CI passes

@kkafar kkafar changed the title chore: suppress -Wdollar-in-identifier-extension chore: suppress -Wdollar-in-identifier-extension compile time warning Feb 18, 2025
@kkafar kkafar merged commit 2e2f3fa into main Feb 18, 2025
4 checks passed
@kkafar kkafar deleted the @kkafar/supress-dolar-sign-warning branch February 18, 2025 19:31
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.

1 participant