Skip to content

Allow for building with the Android NDK. #57

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 1 commit into from
Feb 1, 2015
Merged

Allow for building with the Android NDK. #57

merged 1 commit into from
Feb 1, 2015

Conversation

toonetown
Copy link
Contributor

Use boost::lexical_cast instead of std::to_string and std::stoi functions - which aren't defined by android.

I'm not sure about the performance implications or the added dependency that comes with this change (boost::lexical_cast) - but it seems to be working pretty smoothly, and all the tests still pass.

Use boost::lexical_cast instead of std::to_string and std::stoi functions - which aren't defined by android.
glynos added a commit that referenced this pull request Feb 1, 2015
Allow for building with the Android NDK.
@glynos glynos merged commit 55ec3cd into cpp-netlib:master Feb 1, 2015
@glynos
Copy link
Member

glynos commented Feb 1, 2015

Thanks, I'm satisfied with these changes.

Out of interest, how are you building this library for Android? Don't you need to make any changes to the CMake files?

@toonetown
Copy link
Contributor Author

I posted my answer on the mailing list...so that discussion can continue there - https://groups.google.com/forum/#!topic/cpp-netlib/vsqTPy9m3dE

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