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

android clang redefinition of strtod_l #2472

Closed
ambitslix opened this issue Aug 27, 2021 · 1 comment
Closed

android clang redefinition of strtod_l #2472

ambitslix opened this issue Aug 27, 2021 · 1 comment

Comments

@ambitslix
Copy link
Contributor

Having this error when trying to build under Linux with android studio cross compiler:

posix-mock-test.cc:511:8: error: redefinition of 'strtod_l'
double strtod_l(const char* nptr, char** endptr,
       ^
/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/android/legacy_stdlib_inlines.h:95:24: note: previous definition is here
static __inline double strtod_l(const char* __s, char** __end_ptr, locale_t __l) {
@vitaut
Copy link
Contributor

vitaut commented Aug 28, 2021

Should be fixed in 729a44e. Thanks for reporting.

@vitaut vitaut closed this as completed Aug 28, 2021
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

No branches or pull requests

2 participants