Skip to content

fix expected '}' error in AndroidCompat.cpp - #1412

Open
IriySoft wants to merge 1 commit into
HaxeFoundation:masterfrom
IriySoft:patch-1
Open

IriySoft wants to merge 1 commit into
HaxeFoundation:masterfrom
IriySoft:patch-1

Conversation

@IriySoft

@IriySoft IriySoft commented Oct 5, 2026 •

Copy link
Copy Markdown

#endif for #ifdef HXCPP_ANDROID_COMPAT_BSD_SIGNAL was in the incorrect line so that if HXCPP_ANDROID_COMPAT_BSD_SIGNAL is not defined, the final closing } was cut off that resulted in a compilation error.

Got the error when building for Android on Win 11.

Moving #endif above the final closing bracket fixed the error.

#endif for #ifdef HXCPP_ANDROID_COMPAT_BSD_SIGNAL was in the incorrect line so that if HXCPP_ANDROID_COMPAT_BSD_SIGNAL is not defined, the final closing } was cut of that resulted in a compilation error.
@IriySoft IriySoft changed the title fix expected '}' error fix expected '}' error in AndroidCompat.cpp Oct 5, 2026
@MRK2009

MRK2009 commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Duplicate of my pr #1404

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