Skip to content

fix build issues when building for Android on Windows #153

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

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

andrurogerz
Copy link
Collaborator

  • Set -Wno-macro-redefined when building JSObjects because the code generated by flex/bison generates this warning
  • Gate backtrace implementation with PLATFORM_ANDROID because ANDROID is not defined when building for Windows

This warning is only now showing up on my local Windows build of ds2 for
Android. It is not showing in CI for some reason.
`ANDROID` is not defined when building for Android on Windows. Properly
gate the backtrace implementation behind `PLATFORM_ANDROID` instead,
which will always be defined when building for Android.
@andrurogerz andrurogerz marked this pull request as ready for review October 8, 2024 20:57
@andrurogerz andrurogerz merged commit 35eda7a into compnerd:main Oct 9, 2024
23 checks passed
@andrurogerz andrurogerz deleted the windows-android-build branch October 9, 2024 16:19
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.

1 participant