https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117135

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #8)
> Ah! that explains it. The --enable-clocale=gnu configure option gets ignored:
> 
>   # Sanity check model, and test for special functionality.
>   if test $enable_clocale_flag = gnu; then
>     AC_EGREP_CPP([_GLIBCXX_ok], [
>     #include <features.h>
>     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) &&
> !defined(__UCLIBC__)
>       _GLIBCXX_ok
>     #endif
>     ], enable_clocale_flag=gnu, enable_clocale_flag=generic)

I think I should also make configure print a warning for this case to say that
--enable-clocale=gnu is being ignored.

If somebody wanted to, they could also implement a
config/locale/newlib/time_members.cc model that used the newlib extensions
_NL_TIME_WD_T_FMT etc.

Reply via email to