-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
bug report - std::sto* in g++ #377
Comments
This is a bug in the Android NDK (which Termux is based on): android/ndk#82 It is scheduled to be resolved in the next release (r13) of the NDK, at which time the fix will propagate to Termux as a package update! |
thanks i found that adding these to above headers fixes the problem (temporarily) #define _GLIBCXX_HAVE_WCSTOF 1
#define _GLIBCXX_USE_C99 1 Again thanks for this awesome app |
Unfortunately the progress on the NDK side has been slower than expected. However, according to the NDK roadmap, the next release (r15) states:
If it works ok, the plan is to switch to libc++ in Termux when r15 of the NDK is available. This will bring us a modern C++ library fixing these and other issues. The NDK release schedule currently has r15 marked for release during |
@fornwall Can we get the beta version? This is stopping me from compiling software I want to try to use on android... |
Termux has just switched to libc++, so after updating packages things such as Note that C++ programs and libraries should be rebuilt completely, as Termux now links against libc++ by default, and you don't want to mix STL implementations in the same program. |
First of all, Thank you for this great app
It is helps me greatly for learning programmings
I found that when compiling this c++ code using g++
the compiler throws error
my compiler version is 6.1.0
The text was updated successfully, but these errors were encountered: