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

Enable -Wpedantic flag on Android and use std::vector instead of VLA to pass arguments to _scheduleOnJS #6157

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Jun 24, 2024

Summary

Just wanted to enable -Wpedantic flag on Android like React Native does.

Test plan

Tested on runOnUI / runOnJS example.

@tomekzaw tomekzaw requested a review from piaskowyk June 24, 2024 07:54
@tomekzaw tomekzaw added this pull request to the merge queue Jun 24, 2024
Merged via the queue into main with commit b4a8837 Jun 24, 2024
13 checks passed
@tomekzaw tomekzaw deleted the @tomekzaw/pedantic branch June 24, 2024 08:26
github-merge-queue bot pushed a commit that referenced this pull request Jul 10, 2024
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

This PR temporarily fixes
#6234
by making the problematic `-Wpedantic` flag to be applied only in
Reanimated example apps so that we can monitor the soundness of the code
on the CI.

`-Wpedantic` flag was introduced in #6157 and released in 3.13.0.

## Test plan

Check if the CI is green.
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.

2 participants