Skip to content

Fix the braces for "extern C" section - #1404

Open
MRK2009 wants to merge 1 commit into
HaxeFoundation:masterfrom
MRK-Stuff:master
Open

MRK2009 wants to merge 1 commit into
HaxeFoundation:masterfrom
MRK-Stuff:master

Conversation

@MRK2009

@MRK2009 MRK2009 commented Sep 29, 2026 •

Copy link
Copy Markdown

If it didn't fixed, it gives out this error:

/opt/hostedtoolcache/haxe/4.2.5/x64/lib/hxcpp/4,3,171/src/hx/AndroidCompat.cpp:77:1: error: expected '}'
   77 | 
      | ^
/opt/hostedtoolcache/haxe/4.2.5/x64/lib/hxcpp/4,3,171/src/hx/AndroidCompat.cpp:11:12: note: to match this '{'
   11 | extern "C" {
      |            ^
1 error generated.

The #endif part is in the wrong line, since ceb70d0.

@tobil4sk tobil4sk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Confirmed that this fixes 32 bit android builds (e.g. -D HXCPP_X86)

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