[libcxx-commits] [libcxx] [libc++] Don't export ABI tagged __str_to_float_c_locale specializations on MinGW (PR #229456)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 13 02:32:59 PDT 2026


================
@@ -175,32 +175,31 @@ _LIBCPP_EXPORTED_FROM_ABI const char* __get_locale_encoding(__locale_t __loc);
 //
 
 // the *_l functions are prefixed on Windows, only available for msvcr80+, VS2005+
+// _strtold_l is not available on MinGW, so long double must be split.
 template <class _FloatT>
 _LIBCPP_HIDE_FROM_ABI _FloatT __str_to_float_c_locale(const char* __nptr, char** __endptr);
----------------
philnik777 wrote:

Wasn't the original issue that the ABI tag gets inherited?

https://github.com/llvm/llvm-project/pull/229456


More information about the libcxx-commits mailing list