Skip to content

remove backticks in NativeDOM.cpp#57573

Closed
etodanik wants to merge 1 commit into
react:mainfrom
etodanik:patch-2
Closed

remove backticks in NativeDOM.cpp#57573
etodanik wants to merge 1 commit into
react:mainfrom
etodanik:patch-2

Conversation

@etodanik

Copy link
Copy Markdown
Contributor

MSVC is highly allergic to backticks in #pragma and will panic with error C2018: unknown character '0x60'

Summary:

I'm currently preparing my React Native for Unreal Engine OOT platform, and as part of that I'm compiling with MSVC. MSVC doesn't tolerate the backticks here.

Changelog:

[GENERAL] [FIXED] - fixed MSVC compilation of NativeDOM.cpp by removing backticks

Test Plan:

Check that MSVC no longer complains about backticks

MSVC is highly allergic to backticks in #pragma and will panic with error C2018: unknown character '0x60'
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 16, 2026
@etodanik

Copy link
Copy Markdown
Contributor Author

Pinging some latest maintainers of this file to hopefully get this little fix in
@rubennorte @christophpurrer @sammy-SC

@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jul 16, 2026
@meta-codesync

meta-codesync Bot commented Jul 16, 2026

Copy link
Copy Markdown

@christophpurrer has imported this pull request. If you are a Meta employee, you can view this in D112348262.

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync Bot closed this in e979b0e Jul 16, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jul 16, 2026
@meta-codesync

meta-codesync Bot commented Jul 16, 2026

Copy link
Copy Markdown

@christophpurrer merged this pull request in e979b0e.

@christophpurrer

Copy link
Copy Markdown
Contributor

Thanks for the fix @etodanik !

@etodanik
etodanik deleted the patch-2 branch July 16, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants