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

3.5.0 Android fixes #770

Merged

Conversation

ivan-mogilko
Copy link
Contributor

Fixing Android build. Most things are trivial, but one I'd like to note is that apparently the older NDK version we suggest building against does not have std::lround implemented, even though they support C++11 in general.
Could be related: android/ndk#82

So I went on to replace all the std::lround in our code to lround from C library.

@ivan-mogilko ivan-mogilko added pull: under review ags3 related to ags3 (version with full backward compatibility) system: android labels May 14, 2019
@ivan-mogilko ivan-mogilko added this to the 3.5.0 milestone May 14, 2019
@sonneveld
Copy link
Member

TIL about the older NDK's support of std:: lib. What do we lose if we suggest a newer NDK?

Otherwise the changes look good.

@ghost
Copy link
Author

ghost commented May 18, 2019

What do we lose if we suggest a newer NDK?

Older devices afaik. We bumped version of NDK in either 3.4.1 or 3.5.0 to mimimal supporting what we need. This may be bumped again later, after 3.5.0, because right now that does not seem to be necessary.

@ivan-mogilko ivan-mogilko merged commit 2f15600 into adventuregamestudio:ags3 May 19, 2019
@ivan-mogilko ivan-mogilko deleted the ags3--androidfixes branch May 19, 2019 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ags3 related to ags3 (version with full backward compatibility) system: android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants