Closed
Description
The workaround for missing locale support introduced in 894e78b doesn't seem to be working. I compile with NDK r12b, with clang as the compiler, c++_shared
as my library, and android-9
as the platform, and it tells me that it can't build it because of the "undefined reference to 'localeconv'". This comes from json_tool.h
.
sizeof(struct lconv)
is 56. So it clearly is larger than a simple stub for whatever reason, that's why everything fails. Honestly, I think that a preprocessor macro would be much simpler and more reliable than this template magic.