This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Clean up and reformat to config/numeric and time


>  union { char *__s; wchar_t __w; } __u;
>  __u.__s = __nl_langinfo_l(_NL_NUMERIC_DECIMAL_POINT_WC, __cloc);
>  _M_data->_M_decimal_point = __u.__w;

This seems ok to me. 

Jakub originally did this to deal with ia64 and 64 bit issues in
general. You should probably test this new iteration of this code on a
64 bit arch to be sure.

best,
benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]