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) {
Having this error when trying to build under Linux with android studio cross compiler: