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

fix include in KSCrashCConfiguration.h #572

Merged

Conversation

NesterovichAlexey
Copy link
Contributor

If #include "string.h" is used, then building a React Native app fails with the error:

.../Pods/RCT-Folly/folly/portability/String.h:22:10: 'folly/portability/Config.h' file not found

This happens because the RCT-Folly library contains the String.h file, which is why the wrong header is selected.

With #include <string.h> everything builds successfully.

@GLinnik21 GLinnik21 self-requested a review September 23, 2024 09:52
Copy link
Collaborator

@GLinnik21 GLinnik21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks!

@GLinnik21 GLinnik21 merged commit 17203ac into kstenerud:master Sep 23, 2024
26 checks passed
@NesterovichAlexey NesterovichAlexey deleted the KSCrashCConfiguration-include branch September 23, 2024 11:33
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